Summary|Tags|Feature:src/test/java/InspireTest/ngr/T02_Services.featureget details
Scenario Outline: [1.1:18]62c0d0a5-5826-406d-a625-d84bc5fec800
ms: 2736
>>
Background:
1
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
2
* def mystorage = Java.type('storage.DataStorage')
1
3
* def db = new mystorage
6
4
* def db = db.setfeature(karate.info.featureFileName)
4
5
* def separator = java.lang.System.getProperty("file.separator")
2
6
* def outputpath = db.outputpath()
1
7
* eval db.ensureDirectory(outputpath)
2
8
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
9
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
10
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
11
Given path 'geonetwork/srv/dut/inspire'
19
12
And param service = 'CSW'
0
13
And param version = '2.0.2'
0
14
And param request = 'GetRecordById'
0
15
And param id = '62c0d0a5-5826-406d-a625-d84bc5fec800'
1
16
And param elementsetname = 'full'
0
17
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
18
When method get
2702
19
Then status 200
0
20
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '62c0d0a5-5826-406d-a625-d84bc5fec800'
2
21
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
22
* def title = get response //citation/CI_Citation/title/CharacterString
1
23
* def email = get response //electronicMailAddress/CharacterString
1
24
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
25
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
26
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
27
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
28
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
29
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
30
* print organisationpath
1
09:37:03.047 [print] Beheer PDOK
31
* print operateson
0
09:37:03.047 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=be1b1514-8d1f-48e1-9624-fee9b784138b#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=db60a314-5583-437d-a2ff-1e59cc57704e#MD_DataIdentification" ]
32
* eval db.writeln('"62c0d0a5-5826-406d-a625-d84bc5fec800","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
33
* eval db.writeln('"62c0d0a5-5826-406d-a625-d84bc5fec800","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.2:18]664862cb-d426-4ee4-97ac-14c12b903b54
ms: 1320
>>
Background:
34
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
35
* def mystorage = Java.type('storage.DataStorage')
1
36
* def db = new mystorage
6
37
* def db = db.setfeature(karate.info.featureFileName)
4
38
* def separator = java.lang.System.getProperty("file.separator")
2
39
* def outputpath = db.outputpath()
1
40
* eval db.ensureDirectory(outputpath)
2
41
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
42
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
43
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
44
Given path 'geonetwork/srv/dut/inspire'
0
45
And param service = 'CSW'
0
46
And param version = '2.0.2'
0
47
And param request = 'GetRecordById'
0
48
And param id = '664862cb-d426-4ee4-97ac-14c12b903b54'
1
49
And param elementsetname = 'full'
0
50
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
51
When method get
1299
52
Then status 200
0
53
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '664862cb-d426-4ee4-97ac-14c12b903b54'
7
54
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
55
* def title = get response //citation/CI_Citation/title/CharacterString
1
56
* def email = get response //electronicMailAddress/CharacterString
0
57
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
58
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
59
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
60
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
61
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
62
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
63
* print organisationpath
0
09:37:01.591 [print] TNO Geologische Dienst Nederland
64
* print operateson
0
09:37:01.592 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6050578f-0010-4bfa-b013-c8617b80ba62&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
65
* eval db.writeln('"664862cb-d426-4ee4-97ac-14c12b903b54","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
66
* eval db.writeln('"664862cb-d426-4ee4-97ac-14c12b903b54","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.3:18]7dc30aed-0940-4e69-b34c-9f24b34078eb
ms: 1725
>>
Background:
67
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
68
* def mystorage = Java.type('storage.DataStorage')
1
69
* def db = new mystorage
6
70
* def db = db.setfeature(karate.info.featureFileName)
4
71
* def separator = java.lang.System.getProperty("file.separator")
2
72
* def outputpath = db.outputpath()
1
73
* eval db.ensureDirectory(outputpath)
2
74
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
75
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
76
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
77
Given path 'geonetwork/srv/dut/inspire'
11
78
And param service = 'CSW'
0
79
And param version = '2.0.2'
0
80
And param request = 'GetRecordById'
0
81
And param id = '7dc30aed-0940-4e69-b34c-9f24b34078eb'
1
82
And param elementsetname = 'full'
0
83
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
84
When method get
1700
85
Then status 200
0
86
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7dc30aed-0940-4e69-b34c-9f24b34078eb'
1
87
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
88
* def title = get response //citation/CI_Citation/title/CharacterString
1
89
* def email = get response //electronicMailAddress/CharacterString
1
90
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
91
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
92
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
93
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
94
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
95
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
96
* print organisationpath
0
09:37:02.034 [print]
97
* print operateson
0
09:37:02.034 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f8d840bc-18df-4449-b797-b9adcb81d3ec#MD_DataIdentification
98
* eval db.writeln('"7dc30aed-0940-4e69-b34c-9f24b34078eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
99
* eval db.writeln('"7dc30aed-0940-4e69-b34c-9f24b34078eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.4:18]09588464-071b-47be-8cbe-d15f2e1f9634
ms: 1275
>>
Background:
100
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
101
* def mystorage = Java.type('storage.DataStorage')
1
102
* def db = new mystorage
6
103
* def db = db.setfeature(karate.info.featureFileName)
4
104
* def separator = java.lang.System.getProperty("file.separator")
2
105
* def outputpath = db.outputpath()
1
106
* eval db.ensureDirectory(outputpath)
2
107
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
108
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
109
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
110
Given path 'geonetwork/srv/dut/inspire'
0
111
And param service = 'CSW'
0
112
And param version = '2.0.2'
0
113
And param request = 'GetRecordById'
0
114
And param id = '09588464-071b-47be-8cbe-d15f2e1f9634'
1
115
And param elementsetname = 'full'
0
116
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
117
When method get
1260
118
Then status 200
0
119
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '09588464-071b-47be-8cbe-d15f2e1f9634'
1
120
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
121
* def title = get response //citation/CI_Citation/title/CharacterString
0
122
* def email = get response //electronicMailAddress/CharacterString
0
123
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
124
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
125
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
126
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
127
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
128
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
129
* print organisationpath
1
09:37:01.570 [print] Beheer PDOK
130
* print operateson
0
09:37:01.571 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6c06740d-058f-4a12-bb3f-bf68efd03d09#MD_DataIdentification
131
* eval db.writeln('"09588464-071b-47be-8cbe-d15f2e1f9634","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
132
* eval db.writeln('"09588464-071b-47be-8cbe-d15f2e1f9634","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.5:18]17ad94f6-4961-448b-a6f5-5368b7870409
ms: 2237
>>
Background:
133
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
134
* def mystorage = Java.type('storage.DataStorage')
1
135
* def db = new mystorage
6
136
* def db = db.setfeature(karate.info.featureFileName)
4
137
* def separator = java.lang.System.getProperty("file.separator")
2
138
* def outputpath = db.outputpath()
1
139
* eval db.ensureDirectory(outputpath)
2
140
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
141
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
142
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
143
Given path 'geonetwork/srv/dut/inspire'
29
144
And param service = 'CSW'
0
145
And param version = '2.0.2'
0
146
And param request = 'GetRecordById'
0
147
And param id = '17ad94f6-4961-448b-a6f5-5368b7870409'
1
148
And param elementsetname = 'full'
0
149
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
150
When method get
2195
151
Then status 200
0
152
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '17ad94f6-4961-448b-a6f5-5368b7870409'
2
153
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
154
* def title = get response //citation/CI_Citation/title/CharacterString
0
155
* def email = get response //electronicMailAddress/CharacterString
1
156
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
157
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
158
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
159
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
160
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
161
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
162
* print organisationpath
0
09:37:02.546 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
163
* print operateson
0
09:37:02.547 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a322184d-6285-4856-bb78-f450b30ffc0e#MD_DataIdentification
164
* eval db.writeln('"17ad94f6-4961-448b-a6f5-5368b7870409","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
165
* eval db.writeln('"17ad94f6-4961-448b-a6f5-5368b7870409","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.6:18]684ff4f6-1652-45a8-93f0-8e16d37b2a66
ms: 1895
>>
Background:
166
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
167
* def mystorage = Java.type('storage.DataStorage')
1
168
* def db = new mystorage
6
169
* def db = db.setfeature(karate.info.featureFileName)
4
170
* def separator = java.lang.System.getProperty("file.separator")
2
171
* def outputpath = db.outputpath()
1
172
* eval db.ensureDirectory(outputpath)
2
173
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
174
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
175
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
176
Given path 'geonetwork/srv/dut/inspire'
16
177
And param service = 'CSW'
0
178
And param version = '2.0.2'
0
179
And param request = 'GetRecordById'
0
180
And param id = '684ff4f6-1652-45a8-93f0-8e16d37b2a66'
1
181
And param elementsetname = 'full'
0
182
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
183
When method get
1830
184
Then status 200
0
185
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '684ff4f6-1652-45a8-93f0-8e16d37b2a66'
2
186
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
187
* def title = get response //citation/CI_Citation/title/CharacterString
0
188
* def email = get response //electronicMailAddress/CharacterString
1
189
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
190
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
191
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
34
192
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
193
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
194
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
195
* print organisationpath
0
09:37:02.202 [print] Beheer PDOK
196
* print operateson
0
09:37:02.202 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2d4ec7e6-50ae-4c71-bd20-5b9211e2135f#MD_DataIdentification
197
* eval db.writeln('"684ff4f6-1652-45a8-93f0-8e16d37b2a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
5
198
* eval db.writeln('"684ff4f6-1652-45a8-93f0-8e16d37b2a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.7:18]777f41ee-8269-4bbc-b0e4-f889c62be099
ms: 1145
>>
Background:
199
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
200
* def mystorage = Java.type('storage.DataStorage')
1
201
* def db = new mystorage
6
202
* def db = db.setfeature(karate.info.featureFileName)
4
203
* def separator = java.lang.System.getProperty("file.separator")
2
204
* def outputpath = db.outputpath()
1
205
* eval db.ensureDirectory(outputpath)
2
206
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
207
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
208
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
209
Given path 'geonetwork/srv/dut/inspire'
1
210
And param service = 'CSW'
0
211
And param version = '2.0.2'
0
212
And param request = 'GetRecordById'
0
213
And param id = '777f41ee-8269-4bbc-b0e4-f889c62be099'
1
214
And param elementsetname = 'full'
0
215
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
216
When method get
1124
217
Then status 200
0
218
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '777f41ee-8269-4bbc-b0e4-f889c62be099'
1
219
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
220
* def title = get response //citation/CI_Citation/title/CharacterString
0
221
* def email = get response //electronicMailAddress/CharacterString
0
222
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
223
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
224
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
225
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
226
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
227
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
228
* print organisationpath
0
09:37:01.421 [print]
229
* print operateson
0
09:37:01.421 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=50a2c5e6-c8e7-425d-854e-26f578196bc9#MD_DataIdentification
230
* eval db.writeln('"777f41ee-8269-4bbc-b0e4-f889c62be099","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
231
* eval db.writeln('"777f41ee-8269-4bbc-b0e4-f889c62be099","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
9
Scenario Outline: [1.8:18]6d86c14f-cccf-41e9-a58e-ead9d52ae35d
ms: 1003
>>
Background:
232
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
233
* def mystorage = Java.type('storage.DataStorage')
1
234
* def db = new mystorage
6
235
* def db = db.setfeature(karate.info.featureFileName)
4
236
* def separator = java.lang.System.getProperty("file.separator")
2
237
* def outputpath = db.outputpath()
1
238
* eval db.ensureDirectory(outputpath)
2
239
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
240
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
241
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
242
Given path 'geonetwork/srv/dut/inspire'
1
243
And param service = 'CSW'
0
244
And param version = '2.0.2'
0
245
And param request = 'GetRecordById'
0
246
And param id = '6d86c14f-cccf-41e9-a58e-ead9d52ae35d'
1
247
And param elementsetname = 'full'
2
248
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
249
When method get
985
250
Then status 200
0
251
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6d86c14f-cccf-41e9-a58e-ead9d52ae35d'
1
252
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
253
* def title = get response //citation/CI_Citation/title/CharacterString
0
254
* def email = get response //electronicMailAddress/CharacterString
1
255
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
256
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
257
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
258
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
259
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
260
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
261
* print organisationpath
2
09:37:01.298 [print] Informatiehuis Water
262
* print operateson
0
09:37:01.298 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=110f9ec6-4464-462e-9765-83d90cefbeab&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
263
* eval db.writeln('"6d86c14f-cccf-41e9-a58e-ead9d52ae35d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
264
* eval db.writeln('"6d86c14f-cccf-41e9-a58e-ead9d52ae35d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.9:18]539ec652-482d-4806-a830-0458cf8be477
ms: 1233
>>
Background:
265
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
266
* def mystorage = Java.type('storage.DataStorage')
1
267
* def db = new mystorage
6
268
* def db = db.setfeature(karate.info.featureFileName)
4
269
* def separator = java.lang.System.getProperty("file.separator")
2
270
* def outputpath = db.outputpath()
1
271
* eval db.ensureDirectory(outputpath)
2
272
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
273
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
274
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
275
Given path 'geonetwork/srv/dut/inspire'
6
276
And param service = 'CSW'
0
277
And param version = '2.0.2'
0
278
And param request = 'GetRecordById'
0
279
And param id = '539ec652-482d-4806-a830-0458cf8be477'
1
280
And param elementsetname = 'full'
0
281
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
282
When method get
1216
283
Then status 200
0
284
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '539ec652-482d-4806-a830-0458cf8be477'
1
285
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
286
* def title = get response //citation/CI_Citation/title/CharacterString
0
287
* def email = get response //electronicMailAddress/CharacterString
0
288
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
289
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
290
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
291
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
292
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
293
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
294
* print organisationpath
0
09:37:01.542 [print] Informatiehuis Water
295
* print operateson
0
09:37:01.542 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=891ddc2d-8949-4a45-be96-c65b87c41f13&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
296
* eval db.writeln('"539ec652-482d-4806-a830-0458cf8be477","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
297
* eval db.writeln('"539ec652-482d-4806-a830-0458cf8be477","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.10:18]dcb7f0d7-d70b-4eab-9a46-7af98de860bd
ms: 2553
>>
Background:
298
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
299
* def mystorage = Java.type('storage.DataStorage')
1
300
* def db = new mystorage
6
301
* def db = db.setfeature(karate.info.featureFileName)
4
302
* def separator = java.lang.System.getProperty("file.separator")
2
303
* def outputpath = db.outputpath()
1
304
* eval db.ensureDirectory(outputpath)
2
305
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
306
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
307
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
308
Given path 'geonetwork/srv/dut/inspire'
4
309
And param service = 'CSW'
0
310
And param version = '2.0.2'
0
311
And param request = 'GetRecordById'
0
312
And param id = 'dcb7f0d7-d70b-4eab-9a46-7af98de860bd'
1
313
And param elementsetname = 'full'
0
314
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
315
When method get
2525
316
Then status 200
0
317
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dcb7f0d7-d70b-4eab-9a46-7af98de860bd'
1
318
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
319
* def title = get response //citation/CI_Citation/title/CharacterString
1
320
* def email = get response //electronicMailAddress/CharacterString
0
321
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
322
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
323
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
324
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
325
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
326
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
327
* print organisationpath
1
09:37:02.863 [print] Beheer PDOK
328
* print operateson
0
09:37:02.864 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=26103042-50a1-4ee5-9c5b-857a2f8b7680#MD_DataIdentification
329
* eval db.writeln('"dcb7f0d7-d70b-4eab-9a46-7af98de860bd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
10
330
* eval db.writeln('"dcb7f0d7-d70b-4eab-9a46-7af98de860bd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.11:18]280cee65-1b66-4973-a569-75122e0b745b
ms: 2029
>>
Background:
331
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
332
* def mystorage = Java.type('storage.DataStorage')
1
333
* def db = new mystorage
6
334
* def db = db.setfeature(karate.info.featureFileName)
4
335
* def separator = java.lang.System.getProperty("file.separator")
2
336
* def outputpath = db.outputpath()
1
337
* eval db.ensureDirectory(outputpath)
2
338
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
339
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
340
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
341
Given path 'geonetwork/srv/dut/inspire'
14
342
And param service = 'CSW'
0
343
And param version = '2.0.2'
0
344
And param request = 'GetRecordById'
0
345
And param id = '280cee65-1b66-4973-a569-75122e0b745b'
1
346
And param elementsetname = 'full'
0
347
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
348
When method get
2002
349
Then status 200
0
350
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '280cee65-1b66-4973-a569-75122e0b745b'
1
351
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
352
* def title = get response //citation/CI_Citation/title/CharacterString
0
353
* def email = get response //electronicMailAddress/CharacterString
0
354
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
355
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
356
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
357
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
358
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
359
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
360
* print organisationpath
1
09:37:02.337 [print]
361
* print operateson
2
09:37:02.340 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e1#MD_DataIdentification" ]
362
* eval db.writeln('"280cee65-1b66-4973-a569-75122e0b745b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
363
* eval db.writeln('"280cee65-1b66-4973-a569-75122e0b745b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.12:18]1fa220c2-5f2e-4943-a57e-c291cc35084b
ms: 1010
>>
Background:
364
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
365
* def mystorage = Java.type('storage.DataStorage')
1
366
* def db = new mystorage
6
367
* def db = db.setfeature(karate.info.featureFileName)
4
368
* def separator = java.lang.System.getProperty("file.separator")
2
369
* def outputpath = db.outputpath()
1
370
* eval db.ensureDirectory(outputpath)
2
371
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
372
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
373
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
374
Given path 'geonetwork/srv/dut/inspire'
2
375
And param service = 'CSW'
2
376
And param version = '2.0.2'
1
377
And param request = 'GetRecordById'
1
378
And param id = '1fa220c2-5f2e-4943-a57e-c291cc35084b'
1
379
And param elementsetname = 'full'
1
380
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
1
381
When method get
965
382
Then status 200
0
383
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1fa220c2-5f2e-4943-a57e-c291cc35084b'
2
384
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
3
385
* def title = get response //citation/CI_Citation/title/CharacterString
3
386
* def email = get response //electronicMailAddress/CharacterString
3
387
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
3
388
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
2
389
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
2
390
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
391
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
392
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
3
393
* print organisationpath
0
09:37:01.256 [print] Beheer PDOK
394
* print operateson
0
09:37:01.256 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f273941e-9c3b-43bc-b886-2d50d0bf9348#MD_DataIdentification
395
* eval db.writeln('"1fa220c2-5f2e-4943-a57e-c291cc35084b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
10
396
* eval db.writeln('"1fa220c2-5f2e-4943-a57e-c291cc35084b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.13:18]e5ef707f-6458-4567-8d2c-d24fe88ab5e9
ms: 1114
>>
Background:
397
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
398
* def mystorage = Java.type('storage.DataStorage')
1
399
* def db = new mystorage
6
400
* def db = db.setfeature(karate.info.featureFileName)
4
401
* def separator = java.lang.System.getProperty("file.separator")
2
402
* def outputpath = db.outputpath()
1
403
* eval db.ensureDirectory(outputpath)
2
404
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
405
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
406
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
407
Given path 'geonetwork/srv/dut/inspire'
1
408
And param service = 'CSW'
0
409
And param version = '2.0.2'
0
410
And param request = 'GetRecordById'
0
411
And param id = 'e5ef707f-6458-4567-8d2c-d24fe88ab5e9'
1
412
And param elementsetname = 'full'
0
413
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
414
When method get
1091
415
Then status 200
0
416
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e5ef707f-6458-4567-8d2c-d24fe88ab5e9'
1
417
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
418
* def title = get response //citation/CI_Citation/title/CharacterString
0
419
* def email = get response //electronicMailAddress/CharacterString
1
420
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
421
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
422
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
423
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
424
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
425
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
426
* print organisationpath
0
09:37:01.375 [print] TNO Geologische Dienst Nederland
427
* print operateson
0
09:37:01.375 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=e3b0da1e-0664-4025-b3f5-a54d74a26450&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
428
* eval db.writeln('"e5ef707f-6458-4567-8d2c-d24fe88ab5e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
4
429
* eval db.writeln('"e5ef707f-6458-4567-8d2c-d24fe88ab5e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
12
Scenario Outline: [1.14:18]bd14098b-44e6-47e5-959d-f40dda65da5a
ms: 904
>>
Background:
430
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
431
* def mystorage = Java.type('storage.DataStorage')
1
432
* def db = new mystorage
6
433
* def db = db.setfeature(karate.info.featureFileName)
4
434
* def separator = java.lang.System.getProperty("file.separator")
2
435
* def outputpath = db.outputpath()
1
436
* eval db.ensureDirectory(outputpath)
2
437
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
438
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
439
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
440
Given path 'geonetwork/srv/dut/inspire'
0
441
And param service = 'CSW'
0
442
And param version = '2.0.2'
0
443
And param request = 'GetRecordById'
0
444
And param id = 'bd14098b-44e6-47e5-959d-f40dda65da5a'
1
445
And param elementsetname = 'full'
0
446
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
447
When method get
882
448
Then status 200
0
449
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bd14098b-44e6-47e5-959d-f40dda65da5a'
1
450
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
451
* def title = get response //citation/CI_Citation/title/CharacterString
1
452
* def email = get response //electronicMailAddress/CharacterString
0
453
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
454
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
2
455
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
456
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
457
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
458
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
459
* print organisationpath
0
09:37:01.175 [print]
460
* print operateson
0
09:37:01.175 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9baa847-4652-4588-abe1-0b050f40f27f#MD_DataIdentification
461
* eval db.writeln('"bd14098b-44e6-47e5-959d-f40dda65da5a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
462
* eval db.writeln('"bd14098b-44e6-47e5-959d-f40dda65da5a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.15:18]e264c1e4-90fe-4968-bbf2-7019f6095348
ms: 1042
>>
Background:
463
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
464
* def mystorage = Java.type('storage.DataStorage')
1
465
* def db = new mystorage
6
466
* def db = db.setfeature(karate.info.featureFileName)
4
467
* def separator = java.lang.System.getProperty("file.separator")
2
468
* def outputpath = db.outputpath()
1
469
* eval db.ensureDirectory(outputpath)
2
470
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
471
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
472
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
473
Given path 'geonetwork/srv/dut/inspire'
1
474
And param service = 'CSW'
0
475
And param version = '2.0.2'
0
476
And param request = 'GetRecordById'
0
477
And param id = 'e264c1e4-90fe-4968-bbf2-7019f6095348'
2
478
And param elementsetname = 'full'
0
479
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
480
When method get
1026
481
Then status 200
0
482
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e264c1e4-90fe-4968-bbf2-7019f6095348'
1
483
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
484
* def title = get response //citation/CI_Citation/title/CharacterString
0
485
* def email = get response //electronicMailAddress/CharacterString
1
486
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
487
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
488
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
489
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
490
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
491
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
492
* print organisationpath
0
09:37:01.322 [print] Beheer PDOK
493
* print operateson
0
09:37:01.322 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3c004ad-5387-4b00-a225-9afbcaa5d31b#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3c004ad-5387-4b00-a225-9afbcaa5d31b#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3c004ad-5387-4b00-a225-9afbcaa5d31b#MD_DataIdentification" ]
494
* eval db.writeln('"e264c1e4-90fe-4968-bbf2-7019f6095348","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
495
* eval db.writeln('"e264c1e4-90fe-4968-bbf2-7019f6095348","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.16:18]2650d49b-7d9a-49b5-b748-a0372cd9b5cf
ms: 1480
>>
Background:
496
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
497
* def mystorage = Java.type('storage.DataStorage')
1
498
* def db = new mystorage
6
499
* def db = db.setfeature(karate.info.featureFileName)
4
500
* def separator = java.lang.System.getProperty("file.separator")
2
501
* def outputpath = db.outputpath()
1
502
* eval db.ensureDirectory(outputpath)
2
503
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
504
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
505
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
506
Given path 'geonetwork/srv/dut/inspire'
1
507
And param service = 'CSW'
0
508
And param version = '2.0.2'
0
509
And param request = 'GetRecordById'
0
510
And param id = '2650d49b-7d9a-49b5-b748-a0372cd9b5cf'
1
511
And param elementsetname = 'full'
0
512
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
513
When method get
1463
514
Then status 200
0
515
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2650d49b-7d9a-49b5-b748-a0372cd9b5cf'
1
516
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
517
* def title = get response //citation/CI_Citation/title/CharacterString
0
518
* def email = get response //electronicMailAddress/CharacterString
0
519
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
520
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
521
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
522
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
523
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
524
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
525
* print organisationpath
2
09:37:01.776 [print] Beheer PDOK
526
* print operateson
0
09:37:01.778 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bffcd5d9-02b4-4e7d-991f-a386611cad84#MD_DataIdentification
527
* eval db.writeln('"2650d49b-7d9a-49b5-b748-a0372cd9b5cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
528
* eval db.writeln('"2650d49b-7d9a-49b5-b748-a0372cd9b5cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.17:18]c374d556-7b6e-459b-83c7-74da6ad90a59
ms: 1500
>>
Background:
529
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
530
* def mystorage = Java.type('storage.DataStorage')
1
531
* def db = new mystorage
6
532
* def db = db.setfeature(karate.info.featureFileName)
4
533
* def separator = java.lang.System.getProperty("file.separator")
2
534
* def outputpath = db.outputpath()
1
535
* eval db.ensureDirectory(outputpath)
2
536
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
537
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
538
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
539
Given path 'geonetwork/srv/dut/inspire'
1
540
And param service = 'CSW'
0
541
And param version = '2.0.2'
2
542
And param request = 'GetRecordById'
0
543
And param id = 'c374d556-7b6e-459b-83c7-74da6ad90a59'
1
544
And param elementsetname = 'full'
0
545
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
546
When method get
1479
547
Then status 200
0
548
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c374d556-7b6e-459b-83c7-74da6ad90a59'
1
549
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
550
* def title = get response //citation/CI_Citation/title/CharacterString
0
551
* def email = get response //electronicMailAddress/CharacterString
0
552
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
553
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
554
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
555
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
556
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
557
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
558
* print organisationpath
0
09:37:01.797 [print] Beheer PDOK
559
* print operateson
0
09:37:01.797 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=4783ea4f-6b8c-4600-8af0-516f3556cfe9#MD_DataIdentification
560
* eval db.writeln('"c374d556-7b6e-459b-83c7-74da6ad90a59","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
7
561
* eval db.writeln('"c374d556-7b6e-459b-83c7-74da6ad90a59","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.18:18]0e2580b7-2a15-41a2-b1b6-361265e4f5f4
ms: 2593
>>
Background:
562
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
563
* def mystorage = Java.type('storage.DataStorage')
1
564
* def db = new mystorage
6
565
* def db = db.setfeature(karate.info.featureFileName)
4
566
* def separator = java.lang.System.getProperty("file.separator")
2
567
* def outputpath = db.outputpath()
1
568
* eval db.ensureDirectory(outputpath)
2
569
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
570
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
571
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
572
Given path 'geonetwork/srv/dut/inspire'
9
573
And param service = 'CSW'
0
574
And param version = '2.0.2'
0
575
And param request = 'GetRecordById'
0
576
And param id = '0e2580b7-2a15-41a2-b1b6-361265e4f5f4'
1
577
And param elementsetname = 'full'
0
578
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
579
When method get
2544
580
Then status 200
0
581
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0e2580b7-2a15-41a2-b1b6-361265e4f5f4'
1
582
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
583
* def title = get response //citation/CI_Citation/title/CharacterString
1
584
* def email = get response //electronicMailAddress/CharacterString
1
585
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
586
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
587
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
588
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
589
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
590
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
591
* print organisationpath
5
09:37:02.876 [print] Beheer PDOK
592
* print operateson
0
09:37:02.881 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=b4ae622c-6201-49d8-bd2e-f7fce9206a1e#MD_DataIdentification
593
* eval db.writeln('"0e2580b7-2a15-41a2-b1b6-361265e4f5f4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
5
594
* eval db.writeln('"0e2580b7-2a15-41a2-b1b6-361265e4f5f4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
22
Scenario Outline: [1.19:18]f917ffa9-1531-48ea-867e-0d413d85b05a
ms: 1449
>>
Background:
595
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
596
* def mystorage = Java.type('storage.DataStorage')
1
597
* def db = new mystorage
6
598
* def db = db.setfeature(karate.info.featureFileName)
4
599
* def separator = java.lang.System.getProperty("file.separator")
2
600
* def outputpath = db.outputpath()
1
601
* eval db.ensureDirectory(outputpath)
2
602
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
603
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
604
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
605
Given path 'geonetwork/srv/dut/inspire'
14
606
And param service = 'CSW'
0
607
And param version = '2.0.2'
0
608
And param request = 'GetRecordById'
0
609
And param id = 'f917ffa9-1531-48ea-867e-0d413d85b05a'
1
610
And param elementsetname = 'full'
0
611
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
612
When method get
1421
613
Then status 200
0
614
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f917ffa9-1531-48ea-867e-0d413d85b05a'
2
615
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
616
* def title = get response //citation/CI_Citation/title/CharacterString
1
617
* def email = get response //electronicMailAddress/CharacterString
2
618
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
619
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
620
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
621
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
622
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
623
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
624
* print organisationpath
0
09:37:01.757 [print] Beheer PDOK
625
* print operateson
0
09:37:01.758 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c4bed072-0fda-47b8-96fa-457a938b88fc", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c4b137b8-2317-42c2-aced-204c4216d68d", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3229e4d7-4bcd-4b94-819d-8e62de69ce2e" ]
626
* eval db.writeln('"f917ffa9-1531-48ea-867e-0d413d85b05a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
627
* eval db.writeln('"f917ffa9-1531-48ea-867e-0d413d85b05a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.20:18]4b6752ae-65d6-44b5-98ef-1fc30f4fd92d
ms: 2205
>>
Background:
628
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
629
* def mystorage = Java.type('storage.DataStorage')
1
630
* def db = new mystorage
6
631
* def db = db.setfeature(karate.info.featureFileName)
4
632
* def separator = java.lang.System.getProperty("file.separator")
2
633
* def outputpath = db.outputpath()
1
634
* eval db.ensureDirectory(outputpath)
2
635
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
636
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
637
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
638
Given path 'geonetwork/srv/dut/inspire'
11
639
And param service = 'CSW'
0
640
And param version = '2.0.2'
0
641
And param request = 'GetRecordById'
0
642
And param id = '4b6752ae-65d6-44b5-98ef-1fc30f4fd92d'
1
643
And param elementsetname = 'full'
0
644
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
645
When method get
2181
646
Then status 200
0
647
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4b6752ae-65d6-44b5-98ef-1fc30f4fd92d'
2
648
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
649
* def title = get response //citation/CI_Citation/title/CharacterString
1
650
* def email = get response //electronicMailAddress/CharacterString
1
651
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
652
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
653
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
654
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
655
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
656
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
657
* print organisationpath
0
09:37:02.515 [print] Beheer PDOK
658
* print operateson
0
09:37:02.516 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=50eef6be-619d-4e16-9b92-48971109b636#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=8de2f5eb-b09f-4f6d-8397-8878a1b86238#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf36#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf9#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf38#MD_DataIdentification" ]
659
* eval db.writeln('"4b6752ae-65d6-44b5-98ef-1fc30f4fd92d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
660
* eval db.writeln('"4b6752ae-65d6-44b5-98ef-1fc30f4fd92d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.21:18]3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd
ms: 1597
>>
Background:
661
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
662
* def mystorage = Java.type('storage.DataStorage')
1
663
* def db = new mystorage
6
664
* def db = db.setfeature(karate.info.featureFileName)
4
665
* def separator = java.lang.System.getProperty("file.separator")
2
666
* def outputpath = db.outputpath()
1
667
* eval db.ensureDirectory(outputpath)
2
668
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
669
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
670
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
671
Given path 'geonetwork/srv/dut/inspire'
12
672
And param service = 'CSW'
0
673
And param version = '2.0.2'
0
674
And param request = 'GetRecordById'
0
675
And param id = '3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd'
1
676
And param elementsetname = 'full'
0
677
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
678
When method get
1530
679
Then status 200
0
680
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd'
2
681
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
682
* def title = get response //citation/CI_Citation/title/CharacterString
0
683
* def email = get response //electronicMailAddress/CharacterString
0
684
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
685
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
686
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
38
687
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
688
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
689
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
690
* print organisationpath
0
09:37:01.902 [print] Beheer PDOK
691
* print operateson
0
09:37:01.903 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=29c17585-e702-463f-a5dc-99d34b17d333#MD_DataIdentification
692
* eval db.writeln('"3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
7
693
* eval db.writeln('"3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.22:18]c78a99eb-9ba3-4307-a21b-2a64ad5da039
ms: 1982
>>
Background:
694
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
695
* def mystorage = Java.type('storage.DataStorage')
1
696
* def db = new mystorage
6
697
* def db = db.setfeature(karate.info.featureFileName)
4
698
* def separator = java.lang.System.getProperty("file.separator")
2
699
* def outputpath = db.outputpath()
1
700
* eval db.ensureDirectory(outputpath)
2
701
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
702
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
703
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
704
Given path 'geonetwork/srv/dut/inspire'
17
705
And param service = 'CSW'
0
706
And param version = '2.0.2'
0
707
And param request = 'GetRecordById'
0
708
And param id = 'c78a99eb-9ba3-4307-a21b-2a64ad5da039'
1
709
And param elementsetname = 'full'
0
710
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
711
When method get
1950
712
Then status 200
0
713
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c78a99eb-9ba3-4307-a21b-2a64ad5da039'
2
714
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
715
* def title = get response //citation/CI_Citation/title/CharacterString
0
716
* def email = get response //electronicMailAddress/CharacterString
0
717
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
718
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
719
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
720
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
721
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
722
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
723
* print organisationpath
1
09:37:02.290 [print] Beheer PDOK
724
* print operateson
0
09:37:02.291 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=a04afee4-47d5-45b7-b7a0-a6f86106af11#MD_DataIdentification
725
* eval db.writeln('"c78a99eb-9ba3-4307-a21b-2a64ad5da039","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
726
* eval db.writeln('"c78a99eb-9ba3-4307-a21b-2a64ad5da039","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.23:18]a2724dae-ebad-4a07-9405-49bddfde3368
ms: 2606
>>
Background:
727
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
728
* def mystorage = Java.type('storage.DataStorage')
1
729
* def db = new mystorage
6
730
* def db = db.setfeature(karate.info.featureFileName)
4
731
* def separator = java.lang.System.getProperty("file.separator")
2
732
* def outputpath = db.outputpath()
1
733
* eval db.ensureDirectory(outputpath)
2
734
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
735
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
736
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
737
Given path 'geonetwork/srv/dut/inspire'
30
738
And param service = 'CSW'
0
739
And param version = '2.0.2'
0
740
And param request = 'GetRecordById'
0
741
And param id = 'a2724dae-ebad-4a07-9405-49bddfde3368'
1
742
And param elementsetname = 'full'
0
743
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
744
When method get
2542
745
Then status 200
0
746
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a2724dae-ebad-4a07-9405-49bddfde3368'
3
747
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
748
* def title = get response //citation/CI_Citation/title/CharacterString
1
749
* def email = get response //electronicMailAddress/CharacterString
1
750
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
751
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
752
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
753
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
754
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
755
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
12
756
* print organisationpath
0
09:37:02.911 [print] Beheer PDOK
757
* print operateson
0
09:37:02.911 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=5996e444-f7f3-40d2-b485-8b9af6e8aa89#MD_DataIdentification
758
* eval db.writeln('"a2724dae-ebad-4a07-9405-49bddfde3368","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
5
759
* eval db.writeln('"a2724dae-ebad-4a07-9405-49bddfde3368","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.24:18]37e05521-c323-4dbe-aba4-de1178ba44a5
ms: 2668
>>
Background:
760
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
761
* def mystorage = Java.type('storage.DataStorage')
1
762
* def db = new mystorage
6
763
* def db = db.setfeature(karate.info.featureFileName)
4
764
* def separator = java.lang.System.getProperty("file.separator")
2
765
* def outputpath = db.outputpath()
1
766
* eval db.ensureDirectory(outputpath)
2
767
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
768
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
769
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
770
Given path 'geonetwork/srv/dut/inspire'
32
771
And param service = 'CSW'
0
772
And param version = '2.0.2'
0
773
And param request = 'GetRecordById'
0
774
And param id = '37e05521-c323-4dbe-aba4-de1178ba44a5'
1
775
And param elementsetname = 'full'
0
776
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
777
When method get
2527
778
Then status 200
0
779
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '37e05521-c323-4dbe-aba4-de1178ba44a5'
26
780
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
16
781
* def title = get response //citation/CI_Citation/title/CharacterString
9
782
* def email = get response //electronicMailAddress/CharacterString
9
783
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
9
784
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
6
785
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
6
786
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
6
787
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
7
788
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
10
789
* print organisationpath
0
09:37:02.979 [print] Beheer PDOK
790
* print operateson
0
09:37:02.980 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=fcefa13c-44e2-4953-b6d6-1ddceebc57fc#MD_DataIdentification
791
* eval db.writeln('"37e05521-c323-4dbe-aba4-de1178ba44a5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
792
* eval db.writeln('"37e05521-c323-4dbe-aba4-de1178ba44a5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.25:18]0d2ca03b-fb7b-466a-bb93-e2bfb596e394
ms: 1731
>>
Background:
793
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
794
* def mystorage = Java.type('storage.DataStorage')
1
795
* def db = new mystorage
6
796
* def db = db.setfeature(karate.info.featureFileName)
4
797
* def separator = java.lang.System.getProperty("file.separator")
2
798
* def outputpath = db.outputpath()
1
799
* eval db.ensureDirectory(outputpath)
2
800
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
801
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
802
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
803
Given path 'geonetwork/srv/dut/inspire'
1
804
And param service = 'CSW'
0
805
And param version = '2.0.2'
0
806
And param request = 'GetRecordById'
0
807
And param id = '0d2ca03b-fb7b-466a-bb93-e2bfb596e394'
1
808
And param elementsetname = 'full'
0
809
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
810
When method get
1702
811
Then status 200
0
812
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0d2ca03b-fb7b-466a-bb93-e2bfb596e394'
7
813
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
814
* def title = get response //citation/CI_Citation/title/CharacterString
1
815
* def email = get response //electronicMailAddress/CharacterString
1
816
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
817
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
818
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
819
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
820
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
821
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
822
* print organisationpath
0
09:37:02.909 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
823
* print operateson
0
09:37:02.909 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=f1d27179-36eb-4376-8048-f51d2eb23a09&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
824
* eval db.writeln('"0d2ca03b-fb7b-466a-bb93-e2bfb596e394","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
825
* eval db.writeln('"0d2ca03b-fb7b-466a-bb93-e2bfb596e394","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
11
Scenario Outline: [1.26:18]275b64ab-34c2-41f8-8904-97812c7f716e
ms: 1947
>>
Background:
826
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
827
* def mystorage = Java.type('storage.DataStorage')
1
828
* def db = new mystorage
6
829
* def db = db.setfeature(karate.info.featureFileName)
4
830
* def separator = java.lang.System.getProperty("file.separator")
2
831
* def outputpath = db.outputpath()
1
832
* eval db.ensureDirectory(outputpath)
2
833
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
834
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
835
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
836
Given path 'geonetwork/srv/dut/inspire'
1
837
And param service = 'CSW'
0
838
And param version = '2.0.2'
0
839
And param request = 'GetRecordById'
0
840
And param id = '275b64ab-34c2-41f8-8904-97812c7f716e'
1
841
And param elementsetname = 'full'
0
842
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
843
When method get
1932
844
Then status 200
0
845
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '275b64ab-34c2-41f8-8904-97812c7f716e'
2
846
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
847
* def title = get response //citation/CI_Citation/title/CharacterString
0
848
* def email = get response //electronicMailAddress/CharacterString
0
849
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
850
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
851
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
852
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
853
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
854
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
855
* print organisationpath
0
09:37:03.211 [print] Beheer PDOK
856
* print operateson
0
09:37:03.211 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=19165027-a13a-4c19-9013-ec1fd191019d#MD_DataIdentification
857
* eval db.writeln('"275b64ab-34c2-41f8-8904-97812c7f716e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
858
* eval db.writeln('"275b64ab-34c2-41f8-8904-97812c7f716e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.27:18]22bedc12-e9cb-4419-8e51-dfb375d46d01
ms: 2156
>>
Background:
859
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
860
* def mystorage = Java.type('storage.DataStorage')
1
861
* def db = new mystorage
6
862
* def db = db.setfeature(karate.info.featureFileName)
4
863
* def separator = java.lang.System.getProperty("file.separator")
2
864
* def outputpath = db.outputpath()
1
865
* eval db.ensureDirectory(outputpath)
2
866
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
867
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
868
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
869
Given path 'geonetwork/srv/dut/inspire'
1
870
And param service = 'CSW'
0
871
And param version = '2.0.2'
0
872
And param request = 'GetRecordById'
0
873
And param id = '22bedc12-e9cb-4419-8e51-dfb375d46d01'
1
874
And param elementsetname = 'full'
0
875
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
876
When method get
2143
877
Then status 200
0
878
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '22bedc12-e9cb-4419-8e51-dfb375d46d01'
1
879
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
880
* def title = get response //citation/CI_Citation/title/CharacterString
1
881
* def email = get response //electronicMailAddress/CharacterString
0
882
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
883
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
884
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
885
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
886
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
887
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
888
* print organisationpath
0
09:37:03.456 [print] Interprovinciaal Overleg
889
* print operateson
0
09:37:03.456 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88f76a94-ee4d-4e0c-9fde-91b692403e39&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=08af1182-91fe-4d21-aa21-ee002953c3cc&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=d91126e0-e37b-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=667ebfb0-e37c-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification" ]
890
* eval db.writeln('"22bedc12-e9cb-4419-8e51-dfb375d46d01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
891
* eval db.writeln('"22bedc12-e9cb-4419-8e51-dfb375d46d01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.28:18]6ff5af41-4cb0-406a-a77c-a4cf4223cbc7
ms: 1989
>>
Background:
892
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
893
* def mystorage = Java.type('storage.DataStorage')
1
894
* def db = new mystorage
6
895
* def db = db.setfeature(karate.info.featureFileName)
4
896
* def separator = java.lang.System.getProperty("file.separator")
2
897
* def outputpath = db.outputpath()
1
898
* eval db.ensureDirectory(outputpath)
2
899
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
900
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
901
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
902
Given path 'geonetwork/srv/dut/inspire'
1
903
And param service = 'CSW'
0
904
And param version = '2.0.2'
0
905
And param request = 'GetRecordById'
0
906
And param id = '6ff5af41-4cb0-406a-a77c-a4cf4223cbc7'
1
907
And param elementsetname = 'full'
0
908
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
909
When method get
1975
910
Then status 200
0
911
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6ff5af41-4cb0-406a-a77c-a4cf4223cbc7'
1
912
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
913
* def title = get response //citation/CI_Citation/title/CharacterString
0
914
* def email = get response //electronicMailAddress/CharacterString
1
915
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
916
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
917
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
918
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
919
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
920
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
921
* print organisationpath
0
09:37:03.314 [print] Beheer PDOK
922
* print operateson
0
09:37:03.314 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6cde2ce7-3ecd-4785-b7b8-d62c3381efe9#MD_DataIdentification
923
* eval db.writeln('"6ff5af41-4cb0-406a-a77c-a4cf4223cbc7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
924
* eval db.writeln('"6ff5af41-4cb0-406a-a77c-a4cf4223cbc7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.29:18]af4841b5-ce83-4edb-af41-429a21140316
ms: 2399
>>
Background:
925
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
926
* def mystorage = Java.type('storage.DataStorage')
1
927
* def db = new mystorage
6
928
* def db = db.setfeature(karate.info.featureFileName)
4
929
* def separator = java.lang.System.getProperty("file.separator")
2
930
* def outputpath = db.outputpath()
1
931
* eval db.ensureDirectory(outputpath)
2
932
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
933
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
934
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
935
Given path 'geonetwork/srv/dut/inspire'
1
936
And param service = 'CSW'
0
937
And param version = '2.0.2'
0
938
And param request = 'GetRecordById'
0
939
And param id = 'af4841b5-ce83-4edb-af41-429a21140316'
1
940
And param elementsetname = 'full'
0
941
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
942
When method get
2371
943
Then status 200
0
944
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'af4841b5-ce83-4edb-af41-429a21140316'
3
945
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
3
946
* def title = get response //citation/CI_Citation/title/CharacterString
2
947
* def email = get response //electronicMailAddress/CharacterString
3
948
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
949
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
950
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
2
951
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
952
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
953
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
3
954
* print organisationpath
0
09:37:03.785 [print] Beheer PDOK
955
* print operateson
0
09:37:03.785 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=977e0e94-7aa9-4784-b2da-eaec44adb61b#MD_DataIdentification
956
* eval db.writeln('"af4841b5-ce83-4edb-af41-429a21140316","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
957
* eval db.writeln('"af4841b5-ce83-4edb-af41-429a21140316","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.30:18]8e7686c3-f75e-411f-866e-6985267b916b
ms: 2716
>>
Background:
958
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
959
* def mystorage = Java.type('storage.DataStorage')
1
960
* def db = new mystorage
6
961
* def db = db.setfeature(karate.info.featureFileName)
4
962
* def separator = java.lang.System.getProperty("file.separator")
2
963
* def outputpath = db.outputpath()
1
964
* eval db.ensureDirectory(outputpath)
2
965
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
966
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
967
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
968
Given path 'geonetwork/srv/dut/inspire'
1
969
And param service = 'CSW'
0
970
And param version = '2.0.2'
0
971
And param request = 'GetRecordById'
0
972
And param id = '8e7686c3-f75e-411f-866e-6985267b916b'
1
973
And param elementsetname = 'full'
0
974
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
975
When method get
2613
976
Then status 200
0
977
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8e7686c3-f75e-411f-866e-6985267b916b'
6
978
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
7
979
* def title = get response //citation/CI_Citation/title/CharacterString
6
980
* def email = get response //electronicMailAddress/CharacterString
6
981
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
7
982
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
4
983
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
4
984
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
7
985
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
5
986
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
22
987
* print organisationpath
0
09:37:04.124 [print] Beheer PDOK
988
* print operateson
0
09:37:04.124 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=cbeaebc3-815a-48af-a978-0e16892865fc#MD_DataIdentification
989
* eval db.writeln('"8e7686c3-f75e-411f-866e-6985267b916b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
11
990
* eval db.writeln('"8e7686c3-f75e-411f-866e-6985267b916b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
16
Scenario Outline: [1.31:18]598c4109-21d2-4a6c-b083-9975a6736853
ms: 2316
>>
Background:
991
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
992
* def mystorage = Java.type('storage.DataStorage')
1
993
* def db = new mystorage
6
994
* def db = db.setfeature(karate.info.featureFileName)
4
995
* def separator = java.lang.System.getProperty("file.separator")
2
996
* def outputpath = db.outputpath()
1
997
* eval db.ensureDirectory(outputpath)
2
998
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
999
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1000
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1001
Given path 'geonetwork/srv/dut/inspire'
1
1002
And param service = 'CSW'
0
1003
And param version = '2.0.2'
0
1004
And param request = 'GetRecordById'
0
1005
And param id = '598c4109-21d2-4a6c-b083-9975a6736853'
1
1006
And param elementsetname = 'full'
0
1007
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1008
When method get
2301
1009
Then status 200
0
1010
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '598c4109-21d2-4a6c-b083-9975a6736853'
1
1011
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1012
* def title = get response //citation/CI_Citation/title/CharacterString
1
1013
* def email = get response //electronicMailAddress/CharacterString
0
1014
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1015
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1016
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1017
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
1018
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1019
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1020
* print organisationpath
0
09:37:03.858 [print] Beheer PDOK
1021
* print operateson
0
09:37:03.858 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=27df6b33-194c-46d6-ac94-257c306c91f2#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=abaf1e22-55aa-4a11-a855-7ac963e4a82b#MD_DataIdentification" ]
1022
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736853","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
1023
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736853","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.32:18]3d759186-7cee-4218-aa44-165f3922fbbb
ms: 2066
>>
Background:
1024
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
1025
* def mystorage = Java.type('storage.DataStorage')
1
1026
* def db = new mystorage
6
1027
* def db = db.setfeature(karate.info.featureFileName)
4
1028
* def separator = java.lang.System.getProperty("file.separator")
2
1029
* def outputpath = db.outputpath()
1
1030
* eval db.ensureDirectory(outputpath)
2
1031
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
1032
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1033
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1034
Given path 'geonetwork/srv/dut/inspire'
1
1035
And param service = 'CSW'
0
1036
And param version = '2.0.2'
0
1037
And param request = 'GetRecordById'
0
1038
And param id = '3d759186-7cee-4218-aa44-165f3922fbbb'
1
1039
And param elementsetname = 'full'
0
1040
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1041
When method get
2049
1042
Then status 200
0
1043
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3d759186-7cee-4218-aa44-165f3922fbbb'
2
1044
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1045
* def title = get response //citation/CI_Citation/title/CharacterString
1
1046
* def email = get response //electronicMailAddress/CharacterString
1
1047
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1048
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
2
1049
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
1050
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1051
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1052
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1053
* print organisationpath
0
09:37:03.638 [print] Beheer PDOK
1054
* print operateson
0
09:37:03.638 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=5951efa2-1ff3-4763-a966-a2f5497679ee#MD_DataIdentification
1055
* eval db.writeln('"3d759186-7cee-4218-aa44-165f3922fbbb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
1056
* eval db.writeln('"3d759186-7cee-4218-aa44-165f3922fbbb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.33:18]d4dded2c-65ec-4e13-897e-03278d53a958
ms: 2616
>>
Background:
1057
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
1058
* def mystorage = Java.type('storage.DataStorage')
1
1059
* def db = new mystorage
6
1060
* def db = db.setfeature(karate.info.featureFileName)
4
1061
* def separator = java.lang.System.getProperty("file.separator")
2
1062
* def outputpath = db.outputpath()
1
1063
* eval db.ensureDirectory(outputpath)
2
1064
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
1065
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1066
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1067
Given path 'geonetwork/srv/dut/inspire'
1
1068
And param service = 'CSW'
0
1069
And param version = '2.0.2'
0
1070
And param request = 'GetRecordById'
0
1071
And param id = 'd4dded2c-65ec-4e13-897e-03278d53a958'
1
1072
And param elementsetname = 'full'
0
1073
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1074
When method get
2599
1075
Then status 200
0
1076
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd4dded2c-65ec-4e13-897e-03278d53a958'
2
1077
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1078
* def title = get response //citation/CI_Citation/title/CharacterString
0
1079
* def email = get response //electronicMailAddress/CharacterString
0
1080
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1081
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1082
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1083
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1084
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1085
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1086
* print organisationpath
0
09:37:04.207 [print]
1087
* print operateson
0
09:37:04.207 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=b61a773c-ecad-4e60-93e9-0a4caac0b52f&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
1088
* eval db.writeln('"d4dded2c-65ec-4e13-897e-03278d53a958","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
5
1089
* eval db.writeln('"d4dded2c-65ec-4e13-897e-03278d53a958","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.34:18]35359958-c40a-486f-9cf5-567a94de905e
ms: 2489
>>
Background:
1090
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
1091
* def mystorage = Java.type('storage.DataStorage')
1
1092
* def db = new mystorage
6
1093
* def db = db.setfeature(karate.info.featureFileName)
4
1094
* def separator = java.lang.System.getProperty("file.separator")
2
1095
* def outputpath = db.outputpath()
1
1096
* eval db.ensureDirectory(outputpath)
2
1097
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
1098
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1099
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1100
Given path 'geonetwork/srv/dut/inspire'
1
1101
And param service = 'CSW'
0
1102
And param version = '2.0.2'
0
1103
And param request = 'GetRecordById'
0
1104
And param id = '35359958-c40a-486f-9cf5-567a94de905e'
1
1105
And param elementsetname = 'full'
0
1106
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1107
When method get
2474
1108
Then status 200
0
1109
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '35359958-c40a-486f-9cf5-567a94de905e'
2
1110
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1111
* def title = get response //citation/CI_Citation/title/CharacterString
0
1112
* def email = get response //electronicMailAddress/CharacterString
0
1113
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1114
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1115
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1116
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1117
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1118
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
1119
* print organisationpath
0
09:37:04.247 [print] Beheer PDOK
1120
* print operateson
0
09:37:04.247 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c5c4a6d6-b850-473c-8ab5-af9c2c550809#MD_DataIdentification
1121
* eval db.writeln('"35359958-c40a-486f-9cf5-567a94de905e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1122
* eval db.writeln('"35359958-c40a-486f-9cf5-567a94de905e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.35:18]b0119753-5625-4500-9df3-13823ff9868f
ms: 2373
>>
Background:
1123
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
1124
* def mystorage = Java.type('storage.DataStorage')
1
1125
* def db = new mystorage
6
1126
* def db = db.setfeature(karate.info.featureFileName)
4
1127
* def separator = java.lang.System.getProperty("file.separator")
2
1128
* def outputpath = db.outputpath()
1
1129
* eval db.ensureDirectory(outputpath)
2
1130
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
1131
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1132
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1133
Given path 'geonetwork/srv/dut/inspire'
1
1134
And param service = 'CSW'
0
1135
And param version = '2.0.2'
0
1136
And param request = 'GetRecordById'
0
1137
And param id = 'b0119753-5625-4500-9df3-13823ff9868f'
1
1138
And param elementsetname = 'full'
0
1139
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1140
When method get
2323
1141
Then status 200
0
1142
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b0119753-5625-4500-9df3-13823ff9868f'
3
1143
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
1144
* def title = get response //citation/CI_Citation/title/CharacterString
12
1145
* def email = get response //electronicMailAddress/CharacterString
4
1146
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
1147
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1148
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
5
1149
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
1150
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
1151
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
3
1152
* print organisationpath
0
09:37:04.146 [print] Beheer PDOK
1153
* print operateson
0
09:37:04.146 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=977e0e94-7aa9-4784-b2da-eaec44adb61b#MD_DataIdentification
1154
* eval db.writeln('"b0119753-5625-4500-9df3-13823ff9868f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
4
1155
* eval db.writeln('"b0119753-5625-4500-9df3-13823ff9868f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
9
Scenario Outline: [1.36:18]180b6682-5d6f-429d-abb7-32f7d6253787
ms: 2476
>>
Background:
1156
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
1157
* def mystorage = Java.type('storage.DataStorage')
1
1158
* def db = new mystorage
6
1159
* def db = db.setfeature(karate.info.featureFileName)
4
1160
* def separator = java.lang.System.getProperty("file.separator")
2
1161
* def outputpath = db.outputpath()
1
1162
* eval db.ensureDirectory(outputpath)
2
1163
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
1164
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1165
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1166
Given path 'geonetwork/srv/dut/inspire'
1
1167
And param service = 'CSW'
0
1168
And param version = '2.0.2'
0
1169
And param request = 'GetRecordById'
0
1170
And param id = '180b6682-5d6f-429d-abb7-32f7d6253787'
1
1171
And param elementsetname = 'full'
0
1172
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1173
When method get
2457
1174
Then status 200
0
1175
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '180b6682-5d6f-429d-abb7-32f7d6253787'
2
1176
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1177
* def title = get response //citation/CI_Citation/title/CharacterString
1
1178
* def email = get response //electronicMailAddress/CharacterString
1
1179
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1180
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1181
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1182
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1183
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1184
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1185
* print organisationpath
6
09:37:04.281 [print] Beheer PDOK
1186
* print operateson
0
09:37:04.282 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=d845cef6-0e23-4212-a951-b69763e39ef0#MD_DataIdentification
1187
* eval db.writeln('"180b6682-5d6f-429d-abb7-32f7d6253787","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1188
* eval db.writeln('"180b6682-5d6f-429d-abb7-32f7d6253787","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.37:18]ca9f6d28-b548-41dc-a862-52daa86d1834
ms: 2574
>>
Background:
1189
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
1190
* def mystorage = Java.type('storage.DataStorage')
1
1191
* def db = new mystorage
6
1192
* def db = db.setfeature(karate.info.featureFileName)
4
1193
* def separator = java.lang.System.getProperty("file.separator")
2
1194
* def outputpath = db.outputpath()
1
1195
* eval db.ensureDirectory(outputpath)
2
1196
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
1197
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1198
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1199
Given path 'geonetwork/srv/dut/inspire'
1
1200
And param service = 'CSW'
0
1201
And param version = '2.0.2'
0
1202
And param request = 'GetRecordById'
0
1203
And param id = 'ca9f6d28-b548-41dc-a862-52daa86d1834'
1
1204
And param elementsetname = 'full'
0
1205
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1206
When method get
2552
1207
Then status 200
0
1208
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ca9f6d28-b548-41dc-a862-52daa86d1834'
3
1209
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1210
* def title = get response //citation/CI_Citation/title/CharacterString
1
1211
* def email = get response //electronicMailAddress/CharacterString
0
1212
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1213
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1214
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1215
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1216
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1217
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1218
* print organisationpath
0
09:37:04.474 [print] Beheer PDOK
1219
* print operateson
0
09:37:04.474 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=26103042-50a1-4ee5-9c5b-857a2f8b7680#MD_DataIdentification
1220
* eval db.writeln('"ca9f6d28-b548-41dc-a862-52daa86d1834","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
10
1221
* eval db.writeln('"ca9f6d28-b548-41dc-a862-52daa86d1834","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.38:18]745968a3-37af-4406-988e-ec595f58c7fe
ms: 2255
>>
Background:
1222
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
1223
* def mystorage = Java.type('storage.DataStorage')
1
1224
* def db = new mystorage
6
1225
* def db = db.setfeature(karate.info.featureFileName)
4
1226
* def separator = java.lang.System.getProperty("file.separator")
2
1227
* def outputpath = db.outputpath()
1
1228
* eval db.ensureDirectory(outputpath)
2
1229
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
1230
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1231
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1232
Given path 'geonetwork/srv/dut/inspire'
1
1233
And param service = 'CSW'
0
1234
And param version = '2.0.2'
0
1235
And param request = 'GetRecordById'
0
1236
And param id = '745968a3-37af-4406-988e-ec595f58c7fe'
1
1237
And param elementsetname = 'full'
0
1238
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1239
When method get
2217
1240
Then status 200
0
1241
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '745968a3-37af-4406-988e-ec595f58c7fe'
1
1242
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1243
* def title = get response //citation/CI_Citation/title/CharacterString
0
1244
* def email = get response //electronicMailAddress/CharacterString
1
1245
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1246
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1247
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1248
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
1249
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1250
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1251
* print organisationpath
23
09:37:04.288 [print]
1252
* print operateson
0
09:37:04.289 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d24ccb35-e9d2-41bf-b231-43083fc0c76d#MD_DataIdentification
1253
* eval db.writeln('"745968a3-37af-4406-988e-ec595f58c7fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
1254
* eval db.writeln('"745968a3-37af-4406-988e-ec595f58c7fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.39:18]42da491e-d8b9-47ba-af65-acb15ea8a055
ms: 2112
>>
Background:
1255
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
1256
* def mystorage = Java.type('storage.DataStorage')
1
1257
* def db = new mystorage
6
1258
* def db = db.setfeature(karate.info.featureFileName)
4
1259
* def separator = java.lang.System.getProperty("file.separator")
2
1260
* def outputpath = db.outputpath()
1
1261
* eval db.ensureDirectory(outputpath)
2
1262
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
1263
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1264
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1265
Given path 'geonetwork/srv/dut/inspire'
1
1266
And param service = 'CSW'
0
1267
And param version = '2.0.2'
0
1268
And param request = 'GetRecordById'
0
1269
And param id = '42da491e-d8b9-47ba-af65-acb15ea8a055'
1
1270
And param elementsetname = 'full'
0
1271
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1272
When method get
2073
1273
Then status 200
0
1274
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '42da491e-d8b9-47ba-af65-acb15ea8a055'
3
1275
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1276
* def title = get response //citation/CI_Citation/title/CharacterString
1
1277
* def email = get response //electronicMailAddress/CharacterString
0
1278
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1279
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1280
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1281
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
16
1282
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1283
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1284
* print organisationpath
0
09:37:04.309 [print]
1285
* print operateson
0
09:37:04.309 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=24de356e-ec4d-4a18-9903-6401d222b77c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
1286
* eval db.writeln('"42da491e-d8b9-47ba-af65-acb15ea8a055","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1287
* eval db.writeln('"42da491e-d8b9-47ba-af65-acb15ea8a055","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
12
Scenario Outline: [1.40:18]7b8f44b5-6eae-4113-a835-84b8678c3dd5
ms: 2210
>>
Background:
1288
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
1289
* def mystorage = Java.type('storage.DataStorage')
1
1290
* def db = new mystorage
6
1291
* def db = db.setfeature(karate.info.featureFileName)
4
1292
* def separator = java.lang.System.getProperty("file.separator")
2
1293
* def outputpath = db.outputpath()
1
1294
* eval db.ensureDirectory(outputpath)
2
1295
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
1296
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1297
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1298
Given path 'geonetwork/srv/dut/inspire'
1
1299
And param service = 'CSW'
0
1300
And param version = '2.0.2'
0
1301
And param request = 'GetRecordById'
0
1302
And param id = '7b8f44b5-6eae-4113-a835-84b8678c3dd5'
1
1303
And param elementsetname = 'full'
0
1304
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1305
When method get
2196
1306
Then status 200
0
1307
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7b8f44b5-6eae-4113-a835-84b8678c3dd5'
3
1308
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1309
* def title = get response //citation/CI_Citation/title/CharacterString
0
1310
* def email = get response //electronicMailAddress/CharacterString
0
1311
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1312
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1313
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1314
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1315
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1316
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1317
* print organisationpath
0
09:37:04.503 [print] Beheer PDOK
1318
* print operateson
0
09:37:04.503 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=493ab81b-75f8-4205-b030-6b2fd9eb4295#MD_DataIdentification
1319
* eval db.writeln('"7b8f44b5-6eae-4113-a835-84b8678c3dd5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1320
* eval db.writeln('"7b8f44b5-6eae-4113-a835-84b8678c3dd5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.41:18]2dd6c9df-bb47-40eb-af39-2d17f09b9bb9
ms: 2135
>>
Background:
1321
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
1322
* def mystorage = Java.type('storage.DataStorage')
1
1323
* def db = new mystorage
6
1324
* def db = db.setfeature(karate.info.featureFileName)
4
1325
* def separator = java.lang.System.getProperty("file.separator")
2
1326
* def outputpath = db.outputpath()
1
1327
* eval db.ensureDirectory(outputpath)
2
1328
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
1329
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1330
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1331
Given path 'geonetwork/srv/dut/inspire'
6
1332
And param service = 'CSW'
0
1333
And param version = '2.0.2'
0
1334
And param request = 'GetRecordById'
0
1335
And param id = '2dd6c9df-bb47-40eb-af39-2d17f09b9bb9'
1
1336
And param elementsetname = 'full'
0
1337
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1338
When method get
2107
1339
Then status 200
0
1340
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2dd6c9df-bb47-40eb-af39-2d17f09b9bb9'
2
1341
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1342
* def title = get response //citation/CI_Citation/title/CharacterString
0
1343
* def email = get response //electronicMailAddress/CharacterString
0
1344
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1345
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1346
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1347
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1348
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1349
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1350
* print organisationpath
0
09:37:04.465 [print] TNO Geologische Dienst Nederland
1351
* print operateson
0
09:37:04.466 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=80630ee7-3a15-4ea0-bdc0-a8aebfa2f204&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
1352
* eval db.writeln('"2dd6c9df-bb47-40eb-af39-2d17f09b9bb9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
10
1353
* eval db.writeln('"2dd6c9df-bb47-40eb-af39-2d17f09b9bb9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.42:18]5dfccef3-9b52-47f2-bb02-66b74aaf3af8
ms: 1976
>>
Background:
1354
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
1355
* def mystorage = Java.type('storage.DataStorage')
1
1356
* def db = new mystorage
6
1357
* def db = db.setfeature(karate.info.featureFileName)
4
1358
* def separator = java.lang.System.getProperty("file.separator")
2
1359
* def outputpath = db.outputpath()
1
1360
* eval db.ensureDirectory(outputpath)
2
1361
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
1362
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1363
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1364
Given path 'geonetwork/srv/dut/inspire'
1
1365
And param service = 'CSW'
0
1366
And param version = '2.0.2'
0
1367
And param request = 'GetRecordById'
0
1368
And param id = '5dfccef3-9b52-47f2-bb02-66b74aaf3af8'
1
1369
And param elementsetname = 'full'
0
1370
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1371
When method get
1963
1372
Then status 200
0
1373
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5dfccef3-9b52-47f2-bb02-66b74aaf3af8'
1
1374
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1375
* def title = get response //citation/CI_Citation/title/CharacterString
0
1376
* def email = get response //electronicMailAddress/CharacterString
0
1377
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1378
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
2
1379
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1380
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1381
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1382
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1383
* print organisationpath
0
09:37:04.492 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
1384
* print operateson
0
09:37:04.493 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=4d514a2b-4a7e-4686-b9ea-87cb3e17ed52&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
1385
* eval db.writeln('"5dfccef3-9b52-47f2-bb02-66b74aaf3af8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1386
* eval db.writeln('"5dfccef3-9b52-47f2-bb02-66b74aaf3af8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.43:18]3094a1c4-3dd6-4e8e-9929-4a63dd66992e
ms: 2110
>>
Background:
1387
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
1388
* def mystorage = Java.type('storage.DataStorage')
1
1389
* def db = new mystorage
6
1390
* def db = db.setfeature(karate.info.featureFileName)
4
1391
* def separator = java.lang.System.getProperty("file.separator")
2
1392
* def outputpath = db.outputpath()
1
1393
* eval db.ensureDirectory(outputpath)
2
1394
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
1395
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1396
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1397
Given path 'geonetwork/srv/dut/inspire'
1
1398
And param service = 'CSW'
0
1399
And param version = '2.0.2'
0
1400
And param request = 'GetRecordById'
0
1401
And param id = '3094a1c4-3dd6-4e8e-9929-4a63dd66992e'
1
1402
And param elementsetname = 'full'
0
1403
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1404
When method get
2095
1405
Then status 200
0
1406
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3094a1c4-3dd6-4e8e-9929-4a63dd66992e'
2
1407
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1408
* def title = get response //citation/CI_Citation/title/CharacterString
0
1409
* def email = get response //electronicMailAddress/CharacterString
0
1410
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1411
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1412
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1413
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1414
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1415
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1416
* print organisationpath
0
09:37:04.655 [print] Interprovinciaal Overleg
1417
* print operateson
0
09:37:04.655 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=8e986f37-74d7-4b6c-8026-87c960456423&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=afc450bd-65b3-4e59-b0fb-619869bf6ada&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification" ]
1418
* eval db.writeln('"3094a1c4-3dd6-4e8e-9929-4a63dd66992e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
4
1419
* eval db.writeln('"3094a1c4-3dd6-4e8e-9929-4a63dd66992e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.44:18]5471a93b-cf18-43f5-9ddb-71987857435d
ms: 2011
>>
Background:
1420
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
1421
* def mystorage = Java.type('storage.DataStorage')
1
1422
* def db = new mystorage
6
1423
* def db = db.setfeature(karate.info.featureFileName)
4
1424
* def separator = java.lang.System.getProperty("file.separator")
2
1425
* def outputpath = db.outputpath()
1
1426
* eval db.ensureDirectory(outputpath)
2
1427
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
1428
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1429
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1430
Given path 'geonetwork/srv/dut/inspire'
1
1431
And param service = 'CSW'
0
1432
And param version = '2.0.2'
0
1433
And param request = 'GetRecordById'
0
1434
And param id = '5471a93b-cf18-43f5-9ddb-71987857435d'
2
1435
And param elementsetname = 'full'
0
1436
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1437
When method get
1998
1438
Then status 200
0
1439
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5471a93b-cf18-43f5-9ddb-71987857435d'
1
1440
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1441
* def title = get response //citation/CI_Citation/title/CharacterString
0
1442
* def email = get response //electronicMailAddress/CharacterString
0
1443
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1444
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1445
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1446
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1447
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1448
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1449
* print organisationpath
0
09:37:04.886 [print] TNO Geologische Dienst Nederland
1450
* print operateson
0
09:37:04.886 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6050578f-0010-4bfa-b013-c8617b80ba62&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
1451
* eval db.writeln('"5471a93b-cf18-43f5-9ddb-71987857435d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1452
* eval db.writeln('"5471a93b-cf18-43f5-9ddb-71987857435d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.45:18]ebd6ea46-ee7b-432f-83c4-058c889a790d
ms: 2158
>>
Background:
1453
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
1454
* def mystorage = Java.type('storage.DataStorage')
1
1455
* def db = new mystorage
6
1456
* def db = db.setfeature(karate.info.featureFileName)
4
1457
* def separator = java.lang.System.getProperty("file.separator")
2
1458
* def outputpath = db.outputpath()
1
1459
* eval db.ensureDirectory(outputpath)
2
1460
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
1461
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1462
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1463
Given path 'geonetwork/srv/dut/inspire'
1
1464
And param service = 'CSW'
0
1465
And param version = '2.0.2'
0
1466
And param request = 'GetRecordById'
0
1467
And param id = 'ebd6ea46-ee7b-432f-83c4-058c889a790d'
1
1468
And param elementsetname = 'full'
0
1469
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1470
When method get
2143
1471
Then status 200
0
1472
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ebd6ea46-ee7b-432f-83c4-058c889a790d'
1
1473
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1474
* def title = get response //citation/CI_Citation/title/CharacterString
0
1475
* def email = get response //electronicMailAddress/CharacterString
2
1476
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1477
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1478
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1479
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1480
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
1481
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1482
* print organisationpath
0
09:37:05.061 [print] Interprovinciaal Overleg
1483
* print operateson
0
09:37:05.061 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=c829abeb-bfac-4224-8332-e7a9a89e692e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=fe45c540-e37d-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification" ]
1484
* eval db.writeln('"ebd6ea46-ee7b-432f-83c4-058c889a790d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1485
* eval db.writeln('"ebd6ea46-ee7b-432f-83c4-058c889a790d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.46:18]f2d2cd9d-7410-485a-95e0-c1b885243eaf
ms: 2124
>>
Background:
1486
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
1487
* def mystorage = Java.type('storage.DataStorage')
1
1488
* def db = new mystorage
6
1489
* def db = db.setfeature(karate.info.featureFileName)
4
1490
* def separator = java.lang.System.getProperty("file.separator")
2
1491
* def outputpath = db.outputpath()
1
1492
* eval db.ensureDirectory(outputpath)
2
1493
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
1494
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1495
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1496
Given path 'geonetwork/srv/dut/inspire'
2
1497
And param service = 'CSW'
0
1498
And param version = '2.0.2'
0
1499
And param request = 'GetRecordById'
0
1500
And param id = 'f2d2cd9d-7410-485a-95e0-c1b885243eaf'
1
1501
And param elementsetname = 'full'
0
1502
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1503
When method get
2110
1504
Then status 200
0
1505
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f2d2cd9d-7410-485a-95e0-c1b885243eaf'
1
1506
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1507
* def title = get response //citation/CI_Citation/title/CharacterString
0
1508
* def email = get response //electronicMailAddress/CharacterString
0
1509
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1510
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1511
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1512
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1513
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
1514
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1515
* print organisationpath
0
09:37:05.041 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
1516
* print operateson
0
09:37:05.041 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e8b84fae-00b3-49c1-80c1-df8f69f64e8c#MD_DataIdentification
1517
* eval db.writeln('"f2d2cd9d-7410-485a-95e0-c1b885243eaf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1518
* eval db.writeln('"f2d2cd9d-7410-485a-95e0-c1b885243eaf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.47:18]94e5b115-bece-4140-99ed-93b8f363948e
ms: 2176
>>
Background:
1519
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
1520
* def mystorage = Java.type('storage.DataStorage')
1
1521
* def db = new mystorage
6
1522
* def db = db.setfeature(karate.info.featureFileName)
4
1523
* def separator = java.lang.System.getProperty("file.separator")
2
1524
* def outputpath = db.outputpath()
1
1525
* eval db.ensureDirectory(outputpath)
2
1526
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
1527
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1528
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1529
Given path 'geonetwork/srv/dut/inspire'
2
1530
And param service = 'CSW'
0
1531
And param version = '2.0.2'
0
1532
And param request = 'GetRecordById'
0
1533
And param id = '94e5b115-bece-4140-99ed-93b8f363948e'
1
1534
And param elementsetname = 'full'
0
1535
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1536
When method get
2155
1537
Then status 200
0
1538
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '94e5b115-bece-4140-99ed-93b8f363948e'
4
1539
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1540
* def title = get response //citation/CI_Citation/title/CharacterString
1
1541
* def email = get response //electronicMailAddress/CharacterString
1
1542
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1543
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1544
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1545
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1546
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1547
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1548
* print organisationpath
0
09:37:05.091 [print] Beheer PDOK
1549
* print operateson
0
09:37:05.091 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=41daef8b-155e-4608-b49c-c87ea45d931c#MD_DataIdentification
1550
* eval db.writeln('"94e5b115-bece-4140-99ed-93b8f363948e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1551
* eval db.writeln('"94e5b115-bece-4140-99ed-93b8f363948e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.48:18]6a129fd1-0988-4b8a-975a-6ff134b6754a
ms: 1970
>>
Background:
1552
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
1553
* def mystorage = Java.type('storage.DataStorage')
1
1554
* def db = new mystorage
6
1555
* def db = db.setfeature(karate.info.featureFileName)
4
1556
* def separator = java.lang.System.getProperty("file.separator")
2
1557
* def outputpath = db.outputpath()
1
1558
* eval db.ensureDirectory(outputpath)
2
1559
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
1560
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1561
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1562
Given path 'geonetwork/srv/dut/inspire'
1
1563
And param service = 'CSW'
0
1564
And param version = '2.0.2'
0
1565
And param request = 'GetRecordById'
0
1566
And param id = '6a129fd1-0988-4b8a-975a-6ff134b6754a'
1
1567
And param elementsetname = 'full'
0
1568
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1569
When method get
1945
1570
Then status 200
0
1571
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6a129fd1-0988-4b8a-975a-6ff134b6754a'
2
1572
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1573
* def title = get response //citation/CI_Citation/title/CharacterString
1
1574
* def email = get response //electronicMailAddress/CharacterString
1
1575
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1576
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1577
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1578
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1579
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
8
1580
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1581
* print organisationpath
1
09:37:04.947 [print] Beheer PDOK
1582
* print operateson
0
09:37:04.948 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=002d9127-c16d-4b8d-9f5e-102a8c8e36c4#MD_DataIdentification
1583
* eval db.writeln('"6a129fd1-0988-4b8a-975a-6ff134b6754a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1584
* eval db.writeln('"6a129fd1-0988-4b8a-975a-6ff134b6754a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.49:18]b023459a-9f0e-4d53-8059-a794119abbed
ms: 2433
>>
Background:
1585
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
1586
* def mystorage = Java.type('storage.DataStorage')
1
1587
* def db = new mystorage
6
1588
* def db = db.setfeature(karate.info.featureFileName)
4
1589
* def separator = java.lang.System.getProperty("file.separator")
2
1590
* def outputpath = db.outputpath()
1
1591
* eval db.ensureDirectory(outputpath)
2
1592
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
1593
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1594
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1595
Given path 'geonetwork/srv/dut/inspire'
1
1596
And param service = 'CSW'
0
1597
And param version = '2.0.2'
0
1598
And param request = 'GetRecordById'
0
1599
And param id = 'b023459a-9f0e-4d53-8059-a794119abbed'
1
1600
And param elementsetname = 'full'
0
1601
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1602
When method get
2412
1603
Then status 200
0
1604
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b023459a-9f0e-4d53-8059-a794119abbed'
1
1605
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1606
* def title = get response //citation/CI_Citation/title/CharacterString
0
1607
* def email = get response //electronicMailAddress/CharacterString
0
1608
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1609
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1610
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1611
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1612
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
4
1613
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1614
* print organisationpath
0
09:37:05.475 [print] Beheer PDOK
1615
* print operateson
4
09:37:05.475 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3387ef8a-9237-453a-aa4e-585d1e193550#MD_DataIdentification
1616
* eval db.writeln('"b023459a-9f0e-4d53-8059-a794119abbed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
4
1617
* eval db.writeln('"b023459a-9f0e-4d53-8059-a794119abbed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.50:18]1ff0035a-acc0-4a67-a76c-3b79646b4eef
ms: 2301
>>
Background:
1618
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
1619
* def mystorage = Java.type('storage.DataStorage')
1
1620
* def db = new mystorage
6
1621
* def db = db.setfeature(karate.info.featureFileName)
4
1622
* def separator = java.lang.System.getProperty("file.separator")
2
1623
* def outputpath = db.outputpath()
1
1624
* eval db.ensureDirectory(outputpath)
2
1625
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
1626
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1627
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1628
Given path 'geonetwork/srv/dut/inspire'
1
1629
And param service = 'CSW'
0
1630
And param version = '2.0.2'
0
1631
And param request = 'GetRecordById'
0
1632
And param id = '1ff0035a-acc0-4a67-a76c-3b79646b4eef'
1
1633
And param elementsetname = 'full'
0
1634
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1635
When method get
2284
1636
Then status 200
0
1637
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1ff0035a-acc0-4a67-a76c-3b79646b4eef'
5
1638
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1639
* def title = get response //citation/CI_Citation/title/CharacterString
0
1640
* def email = get response //electronicMailAddress/CharacterString
0
1641
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1642
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1643
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1644
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1645
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1646
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1647
* print organisationpath
0
09:37:05.515 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
1648
* print operateson
1
09:37:05.515 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=be6551de-a709-4c6d-a5e2-f63f0cf038ba&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
1649
* eval db.writeln('"1ff0035a-acc0-4a67-a76c-3b79646b4eef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
1650
* eval db.writeln('"1ff0035a-acc0-4a67-a76c-3b79646b4eef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.51:18]7681eb19-a914-4dc7-9208-c2a131dca06d
ms: 2158
>>
Background:
1651
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
1652
* def mystorage = Java.type('storage.DataStorage')
1
1653
* def db = new mystorage
6
1654
* def db = db.setfeature(karate.info.featureFileName)
4
1655
* def separator = java.lang.System.getProperty("file.separator")
2
1656
* def outputpath = db.outputpath()
1
1657
* eval db.ensureDirectory(outputpath)
2
1658
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
1659
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1660
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1661
Given path 'geonetwork/srv/dut/inspire'
1
1662
And param service = 'CSW'
0
1663
And param version = '2.0.2'
0
1664
And param request = 'GetRecordById'
0
1665
And param id = '7681eb19-a914-4dc7-9208-c2a131dca06d'
1
1666
And param elementsetname = 'full'
0
1667
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1668
When method get
2143
1669
Then status 200
0
1670
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7681eb19-a914-4dc7-9208-c2a131dca06d'
2
1671
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1672
* def title = get response //citation/CI_Citation/title/CharacterString
1
1673
* def email = get response //electronicMailAddress/CharacterString
1
1674
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1675
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1676
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1677
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1678
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1679
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1680
* print organisationpath
0
09:37:05.471 [print] Beheer PDOK
1681
* print operateson
0
09:37:05.471 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=110f9ec6-4464-462e-9765-83d90cefbeag#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=110f9ec6-4464-462e-9765-83d90cefbead#MD_DataIdentification" ]
1682
* eval db.writeln('"7681eb19-a914-4dc7-9208-c2a131dca06d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1683
* eval db.writeln('"7681eb19-a914-4dc7-9208-c2a131dca06d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.52:18]c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f
ms: 2125
>>
Background:
1684
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
1685
* def mystorage = Java.type('storage.DataStorage')
1
1686
* def db = new mystorage
6
1687
* def db = db.setfeature(karate.info.featureFileName)
4
1688
* def separator = java.lang.System.getProperty("file.separator")
2
1689
* def outputpath = db.outputpath()
1
1690
* eval db.ensureDirectory(outputpath)
2
1691
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
1692
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1693
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1694
Given path 'geonetwork/srv/dut/inspire'
1
1695
And param service = 'CSW'
0
1696
And param version = '2.0.2'
0
1697
And param request = 'GetRecordById'
0
1698
And param id = 'c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f'
2
1699
And param elementsetname = 'full'
0
1700
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1701
When method get
2111
1702
Then status 200
0
1703
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f'
1
1704
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1705
* def title = get response //citation/CI_Citation/title/CharacterString
2
1706
* def email = get response //electronicMailAddress/CharacterString
0
1707
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1708
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1709
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1710
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1711
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1712
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1713
* print organisationpath
0
09:37:05.582 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
1714
* print operateson
0
09:37:05.582 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c2225e5d-b46f-4e38-8445-ab10fd40c0dc#MD_DataIdentification
1715
* eval db.writeln('"c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1716
* eval db.writeln('"c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.53:18]68722979-8d6c-4ee4-a81a-8381d2588fe5
ms: 2456
>>
Background:
1717
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
1718
* def mystorage = Java.type('storage.DataStorage')
1
1719
* def db = new mystorage
6
1720
* def db = db.setfeature(karate.info.featureFileName)
4
1721
* def separator = java.lang.System.getProperty("file.separator")
2
1722
* def outputpath = db.outputpath()
1
1723
* eval db.ensureDirectory(outputpath)
2
1724
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
1725
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1726
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1727
Given path 'geonetwork/srv/dut/inspire'
1
1728
And param service = 'CSW'
0
1729
And param version = '2.0.2'
0
1730
And param request = 'GetRecordById'
0
1731
And param id = '68722979-8d6c-4ee4-a81a-8381d2588fe5'
1
1732
And param elementsetname = 'full'
0
1733
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1734
When method get
2444
1735
Then status 200
0
1736
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68722979-8d6c-4ee4-a81a-8381d2588fe5'
2
1737
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1738
* def title = get response //citation/CI_Citation/title/CharacterString
0
1739
* def email = get response //electronicMailAddress/CharacterString
0
1740
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1741
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1742
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1743
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1744
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1745
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1746
* print organisationpath
0
09:37:06.097 [print] Beheer PDOK
1747
* print operateson
0
09:37:06.097 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification
1748
* eval db.writeln('"68722979-8d6c-4ee4-a81a-8381d2588fe5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1749
* eval db.writeln('"68722979-8d6c-4ee4-a81a-8381d2588fe5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.54:18]91041d33-54f8-40f1-8965-a867ba00cab8
ms: 2640
>>
Background:
1750
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
1751
* def mystorage = Java.type('storage.DataStorage')
1
1752
* def db = new mystorage
6
1753
* def db = db.setfeature(karate.info.featureFileName)
4
1754
* def separator = java.lang.System.getProperty("file.separator")
2
1755
* def outputpath = db.outputpath()
1
1756
* eval db.ensureDirectory(outputpath)
2
1757
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
1758
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1759
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1760
Given path 'geonetwork/srv/dut/inspire'
1
1761
And param service = 'CSW'
0
1762
And param version = '2.0.2'
0
1763
And param request = 'GetRecordById'
0
1764
And param id = '91041d33-54f8-40f1-8965-a867ba00cab8'
1
1765
And param elementsetname = 'full'
0
1766
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1767
When method get
2620
1768
Then status 200
0
1769
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '91041d33-54f8-40f1-8965-a867ba00cab8'
1
1770
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1771
* def title = get response //citation/CI_Citation/title/CharacterString
0
1772
* def email = get response //electronicMailAddress/CharacterString
0
1773
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1774
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1775
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1776
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1777
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1778
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1779
* print organisationpath
0
09:37:06.420 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
1780
* print operateson
0
09:37:06.420 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/xml.metadata.get?uuid=34e95842-4e4e-46de-9198-79e8cd4d30dc#MD_DataIdentification
1781
* eval db.writeln('"91041d33-54f8-40f1-8965-a867ba00cab8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
7
1782
* eval db.writeln('"91041d33-54f8-40f1-8965-a867ba00cab8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.55:18]aaf53e6f-fe99-4a86-a61c-50b128412d80
ms: 2364
>>
Background:
1783
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
1784
* def mystorage = Java.type('storage.DataStorage')
1
1785
* def db = new mystorage
6
1786
* def db = db.setfeature(karate.info.featureFileName)
4
1787
* def separator = java.lang.System.getProperty("file.separator")
2
1788
* def outputpath = db.outputpath()
1
1789
* eval db.ensureDirectory(outputpath)
2
1790
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
1791
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1792
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1793
Given path 'geonetwork/srv/dut/inspire'
1
1794
And param service = 'CSW'
0
1795
And param version = '2.0.2'
0
1796
And param request = 'GetRecordById'
0
1797
And param id = 'aaf53e6f-fe99-4a86-a61c-50b128412d80'
1
1798
And param elementsetname = 'full'
0
1799
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1800
When method get
2332
1801
Then status 200
0
1802
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'aaf53e6f-fe99-4a86-a61c-50b128412d80'
13
1803
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1804
* def title = get response //citation/CI_Citation/title/CharacterString
1
1805
* def email = get response //electronicMailAddress/CharacterString
0
1806
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1807
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1808
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1809
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1810
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1811
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1812
* print organisationpath
0
09:37:06.216 [print] Beheer PDOK
1813
* print operateson
0
09:37:06.216 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3d59fd06-9aec-4744-91e7-65e119f74569#MD_DataIdentification
1814
* eval db.writeln('"aaf53e6f-fe99-4a86-a61c-50b128412d80","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
6
1815
* eval db.writeln('"aaf53e6f-fe99-4a86-a61c-50b128412d80","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.56:18]9699058e-707e-41df-93b5-ff75654d32b2
ms: 2285
>>
Background:
1816
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
1817
* def mystorage = Java.type('storage.DataStorage')
1
1818
* def db = new mystorage
6
1819
* def db = db.setfeature(karate.info.featureFileName)
4
1820
* def separator = java.lang.System.getProperty("file.separator")
2
1821
* def outputpath = db.outputpath()
1
1822
* eval db.ensureDirectory(outputpath)
2
1823
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
1824
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1825
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1826
Given path 'geonetwork/srv/dut/inspire'
7
1827
And param service = 'CSW'
0
1828
And param version = '2.0.2'
0
1829
And param request = 'GetRecordById'
0
1830
And param id = '9699058e-707e-41df-93b5-ff75654d32b2'
1
1831
And param elementsetname = 'full'
0
1832
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1833
When method get
2260
1834
Then status 200
0
1835
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9699058e-707e-41df-93b5-ff75654d32b2'
2
1836
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1837
* def title = get response //citation/CI_Citation/title/CharacterString
0
1838
* def email = get response //electronicMailAddress/CharacterString
0
1839
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1840
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1841
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1842
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1843
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
1844
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1845
* print organisationpath
0
09:37:06.427 [print] Beheer PDOK
1846
* print operateson
0
09:37:06.427 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=71c2b7d2-a1a8-4836-b8d4-7247d331b04d#MD_DataIdentification
1847
* eval db.writeln('"9699058e-707e-41df-93b5-ff75654d32b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
4
1848
* eval db.writeln('"9699058e-707e-41df-93b5-ff75654d32b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.57:18]c474b492-da63-4a33-9bdd-b3709ce2cd6c
ms: 1960
>>
Background:
1849
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
1850
* def mystorage = Java.type('storage.DataStorage')
1
1851
* def db = new mystorage
6
1852
* def db = db.setfeature(karate.info.featureFileName)
4
1853
* def separator = java.lang.System.getProperty("file.separator")
2
1854
* def outputpath = db.outputpath()
1
1855
* eval db.ensureDirectory(outputpath)
2
1856
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
1857
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1858
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1859
Given path 'geonetwork/srv/dut/inspire'
1
1860
And param service = 'CSW'
0
1861
And param version = '2.0.2'
0
1862
And param request = 'GetRecordById'
0
1863
And param id = 'c474b492-da63-4a33-9bdd-b3709ce2cd6c'
1
1864
And param elementsetname = 'full'
0
1865
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1866
When method get
1942
1867
Then status 200
0
1868
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c474b492-da63-4a33-9bdd-b3709ce2cd6c'
1
1869
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1870
* def title = get response //citation/CI_Citation/title/CharacterString
5
1871
* def email = get response //electronicMailAddress/CharacterString
1
1872
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1873
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1874
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1875
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1876
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1877
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1878
* print organisationpath
0
09:37:06.114 [print] Beheer PDOK
1879
* print operateson
0
09:37:06.114 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=58d39928-f502-48c9-a8c1-03244dc181bf#MD_DataIdentification
1880
* eval db.writeln('"c474b492-da63-4a33-9bdd-b3709ce2cd6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1881
* eval db.writeln('"c474b492-da63-4a33-9bdd-b3709ce2cd6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.58:18]25a99d92-ea8a-4163-82ab-3521c9b0c96b
ms: 2063
>>
Background:
1882
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
1883
* def mystorage = Java.type('storage.DataStorage')
1
1884
* def db = new mystorage
6
1885
* def db = db.setfeature(karate.info.featureFileName)
4
1886
* def separator = java.lang.System.getProperty("file.separator")
2
1887
* def outputpath = db.outputpath()
1
1888
* eval db.ensureDirectory(outputpath)
2
1889
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
1890
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1891
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1892
Given path 'geonetwork/srv/dut/inspire'
2
1893
And param service = 'CSW'
0
1894
And param version = '2.0.2'
0
1895
And param request = 'GetRecordById'
0
1896
And param id = '25a99d92-ea8a-4163-82ab-3521c9b0c96b'
1
1897
And param elementsetname = 'full'
0
1898
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1899
When method get
2049
1900
Then status 200
0
1901
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '25a99d92-ea8a-4163-82ab-3521c9b0c96b'
1
1902
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1903
* def title = get response //citation/CI_Citation/title/CharacterString
0
1904
* def email = get response //electronicMailAddress/CharacterString
0
1905
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1906
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1907
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1908
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1909
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1910
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1911
* print organisationpath
0
09:37:06.275 [print] Beheer PDOK
1912
* print operateson
0
09:37:06.275 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2d3dd6d2-2d2b-4b5f-9e30-86e19ed77a56#MD_DataIdentification
1913
* eval db.writeln('"25a99d92-ea8a-4163-82ab-3521c9b0c96b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
1914
* eval db.writeln('"25a99d92-ea8a-4163-82ab-3521c9b0c96b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.59:18]c3ee15e4-38bf-4d54-9c0b-cfe0e609d448
ms: 1972
>>
Background:
1915
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
1916
* def mystorage = Java.type('storage.DataStorage')
1
1917
* def db = new mystorage
6
1918
* def db = db.setfeature(karate.info.featureFileName)
4
1919
* def separator = java.lang.System.getProperty("file.separator")
2
1920
* def outputpath = db.outputpath()
1
1921
* eval db.ensureDirectory(outputpath)
2
1922
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
1923
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1924
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1925
Given path 'geonetwork/srv/dut/inspire'
1
1926
And param service = 'CSW'
0
1927
And param version = '2.0.2'
0
1928
And param request = 'GetRecordById'
0
1929
And param id = 'c3ee15e4-38bf-4d54-9c0b-cfe0e609d448'
1
1930
And param elementsetname = 'full'
0
1931
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1932
When method get
1935
1933
Then status 200
0
1934
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c3ee15e4-38bf-4d54-9c0b-cfe0e609d448'
19
1935
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1936
* def title = get response //citation/CI_Citation/title/CharacterString
1
1937
* def email = get response //electronicMailAddress/CharacterString
1
1938
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1939
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1940
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1941
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1942
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
1943
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1944
* print organisationpath
1
09:37:06.218 [print] Beheer PDOK
1945
* print operateson
0
09:37:06.219 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=5a1adb58-0bbe-425d-b0fe-577a6c0a4228#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=b9dd8575-3c1c-41f4-add5-c4f5f2b67179#MD_DataIdentification", "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=00fd1fc4-c190-4fa6-a68f-606c64a16679#MD_DataIdentification", "https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=00b0a2bf-57ce-44c9-b94c-f6c9a41f5c61#MD_DataIdentification", "https://www.nationaalgeoregister.n/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=da237167-7f87-4310-ad64-614233de7a42#MD_DataIdentification" ]
1946
* eval db.writeln('"c3ee15e4-38bf-4d54-9c0b-cfe0e609d448","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
1947
* eval db.writeln('"c3ee15e4-38bf-4d54-9c0b-cfe0e609d448","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.60:18]88a93a3b-d522-4c5d-9b0f-c6c39a118442
ms: 1849
>>
Background:
1948
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
1949
* def mystorage = Java.type('storage.DataStorage')
1
1950
* def db = new mystorage
6
1951
* def db = db.setfeature(karate.info.featureFileName)
4
1952
* def separator = java.lang.System.getProperty("file.separator")
2
1953
* def outputpath = db.outputpath()
1
1954
* eval db.ensureDirectory(outputpath)
2
1955
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
1956
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1957
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1958
Given path 'geonetwork/srv/dut/inspire'
1
1959
And param service = 'CSW'
0
1960
And param version = '2.0.2'
0
1961
And param request = 'GetRecordById'
0
1962
And param id = '88a93a3b-d522-4c5d-9b0f-c6c39a118442'
1
1963
And param elementsetname = 'full'
0
1964
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1965
When method get
1832
1966
Then status 200
0
1967
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '88a93a3b-d522-4c5d-9b0f-c6c39a118442'
1
1968
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1969
* def title = get response //citation/CI_Citation/title/CharacterString
0
1970
* def email = get response //electronicMailAddress/CharacterString
0
1971
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1972
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1973
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1974
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
1975
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
1976
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1977
* print organisationpath
0
09:37:06.136 [print] Beheer PDOK
1978
* print operateson
0
09:37:06.136 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=10d1153e-778f-4995-9b6c-7c69b196cccb#MD_DataIdentification
1979
* eval db.writeln('"88a93a3b-d522-4c5d-9b0f-c6c39a118442","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
1980
* eval db.writeln('"88a93a3b-d522-4c5d-9b0f-c6c39a118442","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.61:18]d7bc97fa-6b4a-4321-a7c4-cd621bc0be77
ms: 2169
>>
Background:
1981
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
1982
* def mystorage = Java.type('storage.DataStorage')
1
1983
* def db = new mystorage
6
1984
* def db = db.setfeature(karate.info.featureFileName)
4
1985
* def separator = java.lang.System.getProperty("file.separator")
2
1986
* def outputpath = db.outputpath()
1
1987
* eval db.ensureDirectory(outputpath)
2
1988
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
1989
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
1990
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
1991
Given path 'geonetwork/srv/dut/inspire'
0
1992
And param service = 'CSW'
0
1993
And param version = '2.0.2'
0
1994
And param request = 'GetRecordById'
0
1995
And param id = 'd7bc97fa-6b4a-4321-a7c4-cd621bc0be77'
10
1996
And param elementsetname = 'full'
0
1997
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1998
When method get
2148
1999
Then status 200
0
2000
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd7bc97fa-6b4a-4321-a7c4-cd621bc0be77'
1
2001
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2002
* def title = get response //citation/CI_Citation/title/CharacterString
0
2003
* def email = get response //electronicMailAddress/CharacterString
0
2004
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2005
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2006
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2007
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2008
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2009
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2010
* print organisationpath
1
09:37:06.461 [print] Beheer PDOK
2011
* print operateson
0
09:37:06.461 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification
2012
* eval db.writeln('"d7bc97fa-6b4a-4321-a7c4-cd621bc0be77","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2013
* eval db.writeln('"d7bc97fa-6b4a-4321-a7c4-cd621bc0be77","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.62:18]5be1b57b-2cac-4119-92eb-700346543d47
ms: 2167
>>
Background:
2014
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
2015
* def mystorage = Java.type('storage.DataStorage')
1
2016
* def db = new mystorage
6
2017
* def db = db.setfeature(karate.info.featureFileName)
4
2018
* def separator = java.lang.System.getProperty("file.separator")
2
2019
* def outputpath = db.outputpath()
1
2020
* eval db.ensureDirectory(outputpath)
2
2021
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
2022
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2023
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2024
Given path 'geonetwork/srv/dut/inspire'
1
2025
And param service = 'CSW'
0
2026
And param version = '2.0.2'
0
2027
And param request = 'GetRecordById'
0
2028
And param id = '5be1b57b-2cac-4119-92eb-700346543d47'
1
2029
And param elementsetname = 'full'
0
2030
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2031
When method get
2155
2032
Then status 200
0
2033
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5be1b57b-2cac-4119-92eb-700346543d47'
2
2034
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2035
* def title = get response //citation/CI_Citation/title/CharacterString
0
2036
* def email = get response //electronicMailAddress/CharacterString
0
2037
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2038
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2039
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2040
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2041
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2042
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2043
* print organisationpath
0
09:37:06.486 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
2044
* print operateson
0
09:37:06.486 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=a5241416-8401-4623-be61-57ef50447a41&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
2045
* eval db.writeln('"5be1b57b-2cac-4119-92eb-700346543d47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2046
* eval db.writeln('"5be1b57b-2cac-4119-92eb-700346543d47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.63:18]62dc32f1-853c-416a-876b-6e083554f1b6
ms: 2386
>>
Background:
2047
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
2048
* def mystorage = Java.type('storage.DataStorage')
1
2049
* def db = new mystorage
6
2050
* def db = db.setfeature(karate.info.featureFileName)
4
2051
* def separator = java.lang.System.getProperty("file.separator")
2
2052
* def outputpath = db.outputpath()
1
2053
* eval db.ensureDirectory(outputpath)
2
2054
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
2055
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2056
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2057
Given path 'geonetwork/srv/dut/inspire'
1
2058
And param service = 'CSW'
0
2059
And param version = '2.0.2'
0
2060
And param request = 'GetRecordById'
0
2061
And param id = '62dc32f1-853c-416a-876b-6e083554f1b6'
1
2062
And param elementsetname = 'full'
0
2063
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2064
When method get
2374
2065
Then status 200
0
2066
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '62dc32f1-853c-416a-876b-6e083554f1b6'
2
2067
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2068
* def title = get response //citation/CI_Citation/title/CharacterString
0
2069
* def email = get response //electronicMailAddress/CharacterString
0
2070
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2071
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2072
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2073
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2074
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2075
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2076
* print organisationpath
0
09:37:06.863 [print] Beheer PDOK
2077
* print operateson
0
09:37:06.863 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3c004ad-5387-4b00-a225-9afbcaa5d31b#MD_DataIdentification
2078
* eval db.writeln('"62dc32f1-853c-416a-876b-6e083554f1b6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2079
* eval db.writeln('"62dc32f1-853c-416a-876b-6e083554f1b6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.64:18]dd49e02c-ea87-4ffc-89dd-f888608d95b7
ms: 1825
>>
Background:
2080
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
2081
* def mystorage = Java.type('storage.DataStorage')
1
2082
* def db = new mystorage
6
2083
* def db = db.setfeature(karate.info.featureFileName)
4
2084
* def separator = java.lang.System.getProperty("file.separator")
2
2085
* def outputpath = db.outputpath()
1
2086
* eval db.ensureDirectory(outputpath)
2
2087
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
2088
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2089
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2090
Given path 'geonetwork/srv/dut/inspire'
1
2091
And param service = 'CSW'
0
2092
And param version = '2.0.2'
0
2093
And param request = 'GetRecordById'
0
2094
And param id = 'dd49e02c-ea87-4ffc-89dd-f888608d95b7'
1
2095
And param elementsetname = 'full'
0
2096
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2097
When method get
1810
2098
Then status 200
0
2099
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dd49e02c-ea87-4ffc-89dd-f888608d95b7'
1
2100
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2101
* def title = get response //citation/CI_Citation/title/CharacterString
0
2102
* def email = get response //electronicMailAddress/CharacterString
0
2103
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2104
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2105
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2106
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2107
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2108
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2109
* print organisationpath
0
09:37:06.305 [print] Beheer PDOK
2110
* print operateson
0
09:37:06.305 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18
2111
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
4
2112
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.65:18]7b4a0b26-5885-45cd-a99d-27887cff68e5
ms: 2281
>>
Background:
2113
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
2114
* def mystorage = Java.type('storage.DataStorage')
1
2115
* def db = new mystorage
6
2116
* def db = db.setfeature(karate.info.featureFileName)
4
2117
* def separator = java.lang.System.getProperty("file.separator")
2
2118
* def outputpath = db.outputpath()
1
2119
* eval db.ensureDirectory(outputpath)
2
2120
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
2121
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2122
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2123
Given path 'geonetwork/srv/dut/inspire'
1
2124
And param service = 'CSW'
0
2125
And param version = '2.0.2'
0
2126
And param request = 'GetRecordById'
0
2127
And param id = '7b4a0b26-5885-45cd-a99d-27887cff68e5'
9
2128
And param elementsetname = 'full'
0
2129
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2130
When method get
2262
2131
Then status 200
0
2132
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7b4a0b26-5885-45cd-a99d-27887cff68e5'
1
2133
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2134
* def title = get response //citation/CI_Citation/title/CharacterString
0
2135
* def email = get response //electronicMailAddress/CharacterString
0
2136
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2137
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2138
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2139
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2140
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2141
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2142
* print organisationpath
0
09:37:06.774 [print] TNO Geologische Dienst Nederland
2143
* print operateson
0
09:37:06.774 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a7fb2234-f7b4-4a03-b282-f10947f42fb1&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
2144
* eval db.writeln('"7b4a0b26-5885-45cd-a99d-27887cff68e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2145
* eval db.writeln('"7b4a0b26-5885-45cd-a99d-27887cff68e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.66:18]a1ed8a00-da07-472e-9627-99175d437c94
ms: 2533
>>
Background:
2146
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
2147
* def mystorage = Java.type('storage.DataStorage')
1
2148
* def db = new mystorage
6
2149
* def db = db.setfeature(karate.info.featureFileName)
4
2150
* def separator = java.lang.System.getProperty("file.separator")
2
2151
* def outputpath = db.outputpath()
1
2152
* eval db.ensureDirectory(outputpath)
2
2153
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
2154
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2155
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2156
Given path 'geonetwork/srv/dut/inspire'
1
2157
And param service = 'CSW'
0
2158
And param version = '2.0.2'
0
2159
And param request = 'GetRecordById'
0
2160
And param id = 'a1ed8a00-da07-472e-9627-99175d437c94'
1
2161
And param elementsetname = 'full'
0
2162
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2163
When method get
2507
2164
Then status 200
0
2165
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a1ed8a00-da07-472e-9627-99175d437c94'
3
2166
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2167
* def title = get response //citation/CI_Citation/title/CharacterString
0
2168
* def email = get response //electronicMailAddress/CharacterString
5
2169
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2170
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2171
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2172
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2173
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2174
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2175
* print organisationpath
0
09:37:07.029 [print] Beheer PDOK
2176
* print operateson
0
09:37:07.029 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=83dab947-387b-49df-8ad2-32bb10d46d38#MD_DataIdentification
2177
* eval db.writeln('"a1ed8a00-da07-472e-9627-99175d437c94","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
2178
* eval db.writeln('"a1ed8a00-da07-472e-9627-99175d437c94","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
10
Scenario Outline: [1.67:18]68505be5-45c4-4889-a82a-125043bbdc44
ms: 2034
>>
Background:
2179
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
2180
* def mystorage = Java.type('storage.DataStorage')
1
2181
* def db = new mystorage
6
2182
* def db = db.setfeature(karate.info.featureFileName)
4
2183
* def separator = java.lang.System.getProperty("file.separator")
2
2184
* def outputpath = db.outputpath()
1
2185
* eval db.ensureDirectory(outputpath)
2
2186
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
2187
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2188
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2189
Given path 'geonetwork/srv/dut/inspire'
1
2190
And param service = 'CSW'
0
2191
And param version = '2.0.2'
0
2192
And param request = 'GetRecordById'
0
2193
And param id = '68505be5-45c4-4889-a82a-125043bbdc44'
1
2194
And param elementsetname = 'full'
0
2195
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2196
When method get
2020
2197
Then status 200
0
2198
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68505be5-45c4-4889-a82a-125043bbdc44'
1
2199
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2200
* def title = get response //citation/CI_Citation/title/CharacterString
0
2201
* def email = get response //electronicMailAddress/CharacterString
0
2202
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2203
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2204
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2205
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2206
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2207
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2208
* print organisationpath
2
09:37:06.691 [print] TNO Geologische Dienst Nederland
2209
* print operateson
0
09:37:06.691 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6c1cf452-8c62-4046-99ab-640a5e184f9c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
2210
* eval db.writeln('"68505be5-45c4-4889-a82a-125043bbdc44","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2211
* eval db.writeln('"68505be5-45c4-4889-a82a-125043bbdc44","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.68:18]c6fa88ab-e440-414b-a773-793c4ce6d8df
ms: 2148
>>
Background:
2212
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
2213
* def mystorage = Java.type('storage.DataStorage')
1
2214
* def db = new mystorage
6
2215
* def db = db.setfeature(karate.info.featureFileName)
4
2216
* def separator = java.lang.System.getProperty("file.separator")
2
2217
* def outputpath = db.outputpath()
1
2218
* eval db.ensureDirectory(outputpath)
2
2219
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
2220
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2221
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2222
Given path 'geonetwork/srv/dut/inspire'
1
2223
And param service = 'CSW'
0
2224
And param version = '2.0.2'
0
2225
And param request = 'GetRecordById'
0
2226
And param id = 'c6fa88ab-e440-414b-a773-793c4ce6d8df'
1
2227
And param elementsetname = 'full'
0
2228
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2229
When method get
2124
2230
Then status 200
0
2231
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c6fa88ab-e440-414b-a773-793c4ce6d8df'
2
2232
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
2233
* def title = get response //citation/CI_Citation/title/CharacterString
1
2234
* def email = get response //electronicMailAddress/CharacterString
1
2235
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2236
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2237
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
2238
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2239
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2240
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
9
2241
* print organisationpath
0
09:37:07.035 [print] Beheer PDOK
2242
* print operateson
0
09:37:07.035 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c5c4a6d6-b850-473c-8ab5-af9c2c550809#MD_DataIdentification
2243
* eval db.writeln('"c6fa88ab-e440-414b-a773-793c4ce6d8df","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2244
* eval db.writeln('"c6fa88ab-e440-414b-a773-793c4ce6d8df","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.69:18]32b1eb9e-c54f-4598-92d2-328eb77fa0d3
ms: 2468
>>
Background:
2245
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
2246
* def mystorage = Java.type('storage.DataStorage')
1
2247
* def db = new mystorage
6
2248
* def db = db.setfeature(karate.info.featureFileName)
4
2249
* def separator = java.lang.System.getProperty("file.separator")
2
2250
* def outputpath = db.outputpath()
1
2251
* eval db.ensureDirectory(outputpath)
2
2252
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
2253
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2254
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2255
Given path 'geonetwork/srv/dut/inspire'
1
2256
And param service = 'CSW'
0
2257
And param version = '2.0.2'
0
2258
And param request = 'GetRecordById'
0
2259
And param id = '32b1eb9e-c54f-4598-92d2-328eb77fa0d3'
1
2260
And param elementsetname = 'full'
0
2261
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2262
When method get
2454
2263
Then status 200
0
2264
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '32b1eb9e-c54f-4598-92d2-328eb77fa0d3'
3
2265
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2266
* def title = get response //citation/CI_Citation/title/CharacterString
0
2267
* def email = get response //electronicMailAddress/CharacterString
0
2268
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2269
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2270
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2271
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2272
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2273
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2274
* print organisationpath
0
09:37:07.419 [print] Beheer PDOK
2275
* print operateson
0
09:37:07.420 [print] http://nationaalgeoregister.nl/geonetwork/srv/eng/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8829e5dd-c861-4639-a6c8-fdbb6e3440d2#MD_DataIdentification
2276
* eval db.writeln('"32b1eb9e-c54f-4598-92d2-328eb77fa0d3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2277
* eval db.writeln('"32b1eb9e-c54f-4598-92d2-328eb77fa0d3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.70:18]cea38797-ea4b-4969-b979-8d25eb543a6c
ms: 1926
>>
Background:
2278
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
2279
* def mystorage = Java.type('storage.DataStorage')
1
2280
* def db = new mystorage
6
2281
* def db = db.setfeature(karate.info.featureFileName)
4
2282
* def separator = java.lang.System.getProperty("file.separator")
2
2283
* def outputpath = db.outputpath()
1
2284
* eval db.ensureDirectory(outputpath)
2
2285
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
2286
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2287
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2288
Given path 'geonetwork/srv/dut/inspire'
1
2289
And param service = 'CSW'
0
2290
And param version = '2.0.2'
0
2291
And param request = 'GetRecordById'
0
2292
And param id = 'cea38797-ea4b-4969-b979-8d25eb543a6c'
1
2293
And param elementsetname = 'full'
0
2294
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2295
When method get
1914
2296
Then status 200
0
2297
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cea38797-ea4b-4969-b979-8d25eb543a6c'
2
2298
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2299
* def title = get response //citation/CI_Citation/title/CharacterString
0
2300
* def email = get response //electronicMailAddress/CharacterString
0
2301
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2302
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2303
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2304
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2305
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2306
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2307
* print organisationpath
0
09:37:06.968 [print] Beheer PDOK
2308
* print operateson
0
09:37:06.969 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6318009c-7b11-4ab9-9929-735584dfb692#MD_DataIdentification
2309
* eval db.writeln('"cea38797-ea4b-4969-b979-8d25eb543a6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2310
* eval db.writeln('"cea38797-ea4b-4969-b979-8d25eb543a6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.71:18]ce4ac3b9-8291-498d-95de-79fe7b6f5259
ms: 2220
>>
Background:
2311
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
2312
* def mystorage = Java.type('storage.DataStorage')
1
2313
* def db = new mystorage
6
2314
* def db = db.setfeature(karate.info.featureFileName)
4
2315
* def separator = java.lang.System.getProperty("file.separator")
2
2316
* def outputpath = db.outputpath()
1
2317
* eval db.ensureDirectory(outputpath)
2
2318
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
2319
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2320
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2321
Given path 'geonetwork/srv/dut/inspire'
1
2322
And param service = 'CSW'
0
2323
And param version = '2.0.2'
0
2324
And param request = 'GetRecordById'
0
2325
And param id = 'ce4ac3b9-8291-498d-95de-79fe7b6f5259'
1
2326
And param elementsetname = 'full'
0
2327
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2328
When method get
2201
2329
Then status 200
0
2330
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ce4ac3b9-8291-498d-95de-79fe7b6f5259'
2
2331
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2332
* def title = get response //citation/CI_Citation/title/CharacterString
1
2333
* def email = get response //electronicMailAddress/CharacterString
0
2334
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2335
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2336
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2337
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2338
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2339
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2340
* print organisationpath
0
09:37:07.275 [print] Beheer PDOK
2341
* print operateson
0
09:37:07.275 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=8f45b8ef-0ce8-463a-9059-5efdcecb785c#MD_DataIdentification
2342
* eval db.writeln('"ce4ac3b9-8291-498d-95de-79fe7b6f5259","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
9
2343
* eval db.writeln('"ce4ac3b9-8291-498d-95de-79fe7b6f5259","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.72:18]95e2c712-1b91-4f24-9453-c56b95227717
ms: 2796
>>
Background:
2344
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
2345
* def mystorage = Java.type('storage.DataStorage')
1
2346
* def db = new mystorage
6
2347
* def db = db.setfeature(karate.info.featureFileName)
4
2348
* def separator = java.lang.System.getProperty("file.separator")
2
2349
* def outputpath = db.outputpath()
1
2350
* eval db.ensureDirectory(outputpath)
2
2351
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
2352
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2353
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2354
Given path 'geonetwork/srv/dut/inspire'
1
2355
And param service = 'CSW'
0
2356
And param version = '2.0.2'
0
2357
And param request = 'GetRecordById'
0
2358
And param id = '95e2c712-1b91-4f24-9453-c56b95227717'
1
2359
And param elementsetname = 'full'
0
2360
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2361
When method get
2785
2362
Then status 200
0
2363
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '95e2c712-1b91-4f24-9453-c56b95227717'
2
2364
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2365
* def title = get response //citation/CI_Citation/title/CharacterString
0
2366
* def email = get response //electronicMailAddress/CharacterString
0
2367
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2368
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2369
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2370
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2371
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2372
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2373
* print organisationpath
0
09:37:07.893 [print]
2374
* print operateson
0
09:37:07.893 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f2f86edf-ac3a-48e8-9292-0544da2d7645#MD_DataIdentification
2375
* eval db.writeln('"95e2c712-1b91-4f24-9453-c56b95227717","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2376
* eval db.writeln('"95e2c712-1b91-4f24-9453-c56b95227717","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.73:18]1d568785-efdd-429d-b491-56f785c3656a
ms: 2244
>>
Background:
2377
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
2378
* def mystorage = Java.type('storage.DataStorage')
1
2379
* def db = new mystorage
6
2380
* def db = db.setfeature(karate.info.featureFileName)
4
2381
* def separator = java.lang.System.getProperty("file.separator")
2
2382
* def outputpath = db.outputpath()
1
2383
* eval db.ensureDirectory(outputpath)
2
2384
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
2385
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2386
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2387
Given path 'geonetwork/srv/dut/inspire'
1
2388
And param service = 'CSW'
0
2389
And param version = '2.0.2'
0
2390
And param request = 'GetRecordById'
0
2391
And param id = '1d568785-efdd-429d-b491-56f785c3656a'
1
2392
And param elementsetname = 'full'
0
2393
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2394
When method get
2231
2395
Then status 200
0
2396
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1d568785-efdd-429d-b491-56f785c3656a'
2
2397
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2398
* def title = get response //citation/CI_Citation/title/CharacterString
0
2399
* def email = get response //electronicMailAddress/CharacterString
0
2400
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2401
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2402
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2403
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2404
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2405
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2406
* print organisationpath
0
09:37:07.718 [print] Beheer PDOK
2407
* print operateson
0
09:37:07.718 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=7dd1fd45-ace5-41e0-93a6-64e3be231717#MD_DataIdentification
2408
* eval db.writeln('"1d568785-efdd-429d-b491-56f785c3656a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2409
* eval db.writeln('"1d568785-efdd-429d-b491-56f785c3656a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.74:18]bc0b75c6-3eef-49de-aca2-8483024903c1
ms: 1807
>>
Background:
2410
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
2411
* def mystorage = Java.type('storage.DataStorage')
1
2412
* def db = new mystorage
6
2413
* def db = db.setfeature(karate.info.featureFileName)
4
2414
* def separator = java.lang.System.getProperty("file.separator")
2
2415
* def outputpath = db.outputpath()
1
2416
* eval db.ensureDirectory(outputpath)
2
2417
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
2418
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2419
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2420
Given path 'geonetwork/srv/dut/inspire'
1
2421
And param service = 'CSW'
0
2422
And param version = '2.0.2'
0
2423
And param request = 'GetRecordById'
0
2424
And param id = 'bc0b75c6-3eef-49de-aca2-8483024903c1'
1
2425
And param elementsetname = 'full'
0
2426
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2427
When method get
1790
2428
Then status 200
0
2429
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bc0b75c6-3eef-49de-aca2-8483024903c1'
1
2430
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2431
* def title = get response //citation/CI_Citation/title/CharacterString
0
2432
* def email = get response //electronicMailAddress/CharacterString
0
2433
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2434
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2435
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2436
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2437
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
6
2438
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2439
* print organisationpath
0
09:37:07.290 [print] Beheer PDOK
2440
* print operateson
0
09:37:07.290 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=19165027-a13a-4c19-9013-ec1fd191019d#MD_DataIdentification
2441
* eval db.writeln('"bc0b75c6-3eef-49de-aca2-8483024903c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2442
* eval db.writeln('"bc0b75c6-3eef-49de-aca2-8483024903c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.75:18]d7d19437-f875-45b3-86cd-2fa3335479ec
ms: 2174
>>
Background:
2443
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
2444
* def mystorage = Java.type('storage.DataStorage')
1
2445
* def db = new mystorage
6
2446
* def db = db.setfeature(karate.info.featureFileName)
4
2447
* def separator = java.lang.System.getProperty("file.separator")
2
2448
* def outputpath = db.outputpath()
1
2449
* eval db.ensureDirectory(outputpath)
2
2450
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
2451
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2452
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2453
Given path 'geonetwork/srv/dut/inspire'
1
2454
And param service = 'CSW'
0
2455
And param version = '2.0.2'
0
2456
And param request = 'GetRecordById'
0
2457
And param id = 'd7d19437-f875-45b3-86cd-2fa3335479ec'
1
2458
And param elementsetname = 'full'
0
2459
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2460
When method get
2164
2461
Then status 200
0
2462
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd7d19437-f875-45b3-86cd-2fa3335479ec'
1
2463
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2464
* def title = get response //citation/CI_Citation/title/CharacterString
0
2465
* def email = get response //electronicMailAddress/CharacterString
0
2466
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2467
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2468
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2469
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2470
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2471
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2472
* print organisationpath
0
09:37:07.692 [print] Beheer PDOK
2473
* print operateson
0
09:37:07.692 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=247a1d15-0a67-40ce-85be-1403c08f15a8#MD_DataIdentification
2474
* eval db.writeln('"d7d19437-f875-45b3-86cd-2fa3335479ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2475
* eval db.writeln('"d7d19437-f875-45b3-86cd-2fa3335479ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.76:18]609d0c9e-173f-4f90-b020-c91ab3a0b6ef
ms: 2423
>>
Background:
2476
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
2477
* def mystorage = Java.type('storage.DataStorage')
1
2478
* def db = new mystorage
6
2479
* def db = db.setfeature(karate.info.featureFileName)
4
2480
* def separator = java.lang.System.getProperty("file.separator")
2
2481
* def outputpath = db.outputpath()
1
2482
* eval db.ensureDirectory(outputpath)
2
2483
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
2484
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2485
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2486
Given path 'geonetwork/srv/dut/inspire'
1
2487
And param service = 'CSW'
0
2488
And param version = '2.0.2'
0
2489
And param request = 'GetRecordById'
0
2490
And param id = '609d0c9e-173f-4f90-b020-c91ab3a0b6ef'
1
2491
And param elementsetname = 'full'
0
2492
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2493
When method get
2411
2494
Then status 200
0
2495
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '609d0c9e-173f-4f90-b020-c91ab3a0b6ef'
1
2496
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2497
* def title = get response //citation/CI_Citation/title/CharacterString
0
2498
* def email = get response //electronicMailAddress/CharacterString
0
2499
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2500
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2501
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2502
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2503
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2504
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2505
* print organisationpath
0
09:37:08.006 [print] Beheer PDOK
2506
* print operateson
0
09:37:08.006 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=29c17585-e702-463f-a5dc-99d34b17d333#MD_DataIdentification
2507
* eval db.writeln('"609d0c9e-173f-4f90-b020-c91ab3a0b6ef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2508
* eval db.writeln('"609d0c9e-173f-4f90-b020-c91ab3a0b6ef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.77:18]42f5363b-cea7-4163-a4e9-bc2d1a7a243c
ms: 1927
>>
Background:
2509
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
2510
* def mystorage = Java.type('storage.DataStorage')
1
2511
* def db = new mystorage
6
2512
* def db = db.setfeature(karate.info.featureFileName)
4
2513
* def separator = java.lang.System.getProperty("file.separator")
2
2514
* def outputpath = db.outputpath()
1
2515
* eval db.ensureDirectory(outputpath)
2
2516
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
2517
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2518
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2519
Given path 'geonetwork/srv/dut/inspire'
1
2520
And param service = 'CSW'
0
2521
And param version = '2.0.2'
0
2522
And param request = 'GetRecordById'
0
2523
And param id = '42f5363b-cea7-4163-a4e9-bc2d1a7a243c'
1
2524
And param elementsetname = 'full'
0
2525
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2526
When method get
1916
2527
Then status 200
0
2528
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '42f5363b-cea7-4163-a4e9-bc2d1a7a243c'
1
2529
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2530
* def title = get response //citation/CI_Citation/title/CharacterString
0
2531
* def email = get response //electronicMailAddress/CharacterString
0
2532
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2533
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2534
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2535
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2536
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2537
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2538
* print organisationpath
0
09:37:08.026 [print] Beheer PDOK
2539
* print operateson
0
09:37:08.026 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=002d9127-c16d-4b8d-9f5e-102a8c8e36c4#MD_DataIdentification
2540
* eval db.writeln('"42f5363b-cea7-4163-a4e9-bc2d1a7a243c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2541
* eval db.writeln('"42f5363b-cea7-4163-a4e9-bc2d1a7a243c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.78:18]c0a8e0ee-8639-44d4-be07-d7edf9c276c7
ms: 1994
>>
Background:
2542
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
2543
* def mystorage = Java.type('storage.DataStorage')
1
2544
* def db = new mystorage
6
2545
* def db = db.setfeature(karate.info.featureFileName)
4
2546
* def separator = java.lang.System.getProperty("file.separator")
2
2547
* def outputpath = db.outputpath()
1
2548
* eval db.ensureDirectory(outputpath)
2
2549
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
2550
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2551
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2552
Given path 'geonetwork/srv/dut/inspire'
1
2553
And param service = 'CSW'
0
2554
And param version = '2.0.2'
0
2555
And param request = 'GetRecordById'
0
2556
And param id = 'c0a8e0ee-8639-44d4-be07-d7edf9c276c7'
1
2557
And param elementsetname = 'full'
0
2558
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2559
When method get
1974
2560
Then status 200
0
2561
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c0a8e0ee-8639-44d4-be07-d7edf9c276c7'
1
2562
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2563
* def title = get response //citation/CI_Citation/title/CharacterString
1
2564
* def email = get response //electronicMailAddress/CharacterString
1
2565
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2566
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2567
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2568
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2569
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2570
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2571
* print organisationpath
0
09:37:08.106 [print] Beheer PDOK
2572
* print operateson
0
09:37:08.106 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=14657c9b-91e4-4355-8563-2911ad0e78e4#MD_DataIdentification
2573
* eval db.writeln('"c0a8e0ee-8639-44d4-be07-d7edf9c276c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
10
2574
* eval db.writeln('"c0a8e0ee-8639-44d4-be07-d7edf9c276c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.79:18]ce963e61-779f-470f-a99d-48d9796e5ba3
ms: 2238
>>
Background:
2575
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
2576
* def mystorage = Java.type('storage.DataStorage')
1
2577
* def db = new mystorage
6
2578
* def db = db.setfeature(karate.info.featureFileName)
4
2579
* def separator = java.lang.System.getProperty("file.separator")
2
2580
* def outputpath = db.outputpath()
1
2581
* eval db.ensureDirectory(outputpath)
2
2582
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
2583
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2584
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2585
Given path 'geonetwork/srv/dut/inspire'
1
2586
And param service = 'CSW'
0
2587
And param version = '2.0.2'
0
2588
And param request = 'GetRecordById'
0
2589
And param id = 'ce963e61-779f-470f-a99d-48d9796e5ba3'
1
2590
And param elementsetname = 'full'
0
2591
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2592
When method get
2225
2593
Then status 200
0
2594
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ce963e61-779f-470f-a99d-48d9796e5ba3'
2
2595
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2596
* def title = get response //citation/CI_Citation/title/CharacterString
1
2597
* def email = get response //electronicMailAddress/CharacterString
0
2598
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2599
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2600
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2601
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2602
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2603
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2604
* print organisationpath
0
09:37:08.378 [print] Beheer PDOK
2605
* print operateson
0
09:37:08.378 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification
2606
* eval db.writeln('"ce963e61-779f-470f-a99d-48d9796e5ba3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2607
* eval db.writeln('"ce963e61-779f-470f-a99d-48d9796e5ba3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.80:18]ec73f245-66ce-4144-ac27-5966c80a4b3a
ms: 1989
>>
Background:
2608
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
2609
* def mystorage = Java.type('storage.DataStorage')
1
2610
* def db = new mystorage
6
2611
* def db = db.setfeature(karate.info.featureFileName)
4
2612
* def separator = java.lang.System.getProperty("file.separator")
2
2613
* def outputpath = db.outputpath()
1
2614
* eval db.ensureDirectory(outputpath)
2
2615
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
2616
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2617
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2618
Given path 'geonetwork/srv/dut/inspire'
1
2619
And param service = 'CSW'
5
2620
And param version = '2.0.2'
0
2621
And param request = 'GetRecordById'
0
2622
And param id = 'ec73f245-66ce-4144-ac27-5966c80a4b3a'
1
2623
And param elementsetname = 'full'
0
2624
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2625
When method get
1971
2626
Then status 200
0
2627
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ec73f245-66ce-4144-ac27-5966c80a4b3a'
2
2628
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2629
* def title = get response //citation/CI_Citation/title/CharacterString
1
2630
* def email = get response //electronicMailAddress/CharacterString
1
2631
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2632
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2633
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
2634
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2635
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2636
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2637
* print organisationpath
0
09:37:08.217 [print] Beheer PDOK
2638
* print operateson
0
09:37:08.218 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=5951efa2-1ff3-4763-a966-a2f5497679ee#MD_DataIdentification
2639
* eval db.writeln('"ec73f245-66ce-4144-ac27-5966c80a4b3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2640
* eval db.writeln('"ec73f245-66ce-4144-ac27-5966c80a4b3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.81:18]6c62e0a5-c215-4e47-94b0-a239e264417d
ms: 1959
>>
Background:
2641
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
2642
* def mystorage = Java.type('storage.DataStorage')
1
2643
* def db = new mystorage
6
2644
* def db = db.setfeature(karate.info.featureFileName)
4
2645
* def separator = java.lang.System.getProperty("file.separator")
2
2646
* def outputpath = db.outputpath()
1
2647
* eval db.ensureDirectory(outputpath)
2
2648
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
2649
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2650
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2651
Given path 'geonetwork/srv/dut/inspire'
0
2652
And param service = 'CSW'
0
2653
And param version = '2.0.2'
0
2654
And param request = 'GetRecordById'
0
2655
And param id = '6c62e0a5-c215-4e47-94b0-a239e264417d'
1
2656
And param elementsetname = 'full'
0
2657
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2658
When method get
1938
2659
Then status 200
0
2660
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6c62e0a5-c215-4e47-94b0-a239e264417d'
2
2661
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
2662
* def title = get response //citation/CI_Citation/title/CharacterString
2
2663
* def email = get response //electronicMailAddress/CharacterString
2
2664
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
2665
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
2666
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
2667
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
2668
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
2669
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
2670
* print organisationpath
0
09:37:08.184 [print] Beheer PDOK
2671
* print operateson
0
09:37:08.184 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=17716ed7-ce0d-4bfd-8868-a398e5578a36#MD_DataIdentification
2672
* eval db.writeln('"6c62e0a5-c215-4e47-94b0-a239e264417d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2673
* eval db.writeln('"6c62e0a5-c215-4e47-94b0-a239e264417d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.82:18]6d23a02b-5a8a-447e-a481-ddb2a085c1fb
ms: 3080
>>
Background:
2674
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
2675
* def mystorage = Java.type('storage.DataStorage')
1
2676
* def db = new mystorage
6
2677
* def db = db.setfeature(karate.info.featureFileName)
4
2678
* def separator = java.lang.System.getProperty("file.separator")
2
2679
* def outputpath = db.outputpath()
1
2680
* eval db.ensureDirectory(outputpath)
2
2681
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
2682
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2683
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2684
Given path 'geonetwork/srv/dut/inspire'
1
2685
And param service = 'CSW'
0
2686
And param version = '2.0.2'
0
2687
And param request = 'GetRecordById'
0
2688
And param id = '6d23a02b-5a8a-447e-a481-ddb2a085c1fb'
1
2689
And param elementsetname = 'full'
0
2690
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2691
When method get
3069
2692
Then status 200
0
2693
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6d23a02b-5a8a-447e-a481-ddb2a085c1fb'
1
2694
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2695
* def title = get response //citation/CI_Citation/title/CharacterString
0
2696
* def email = get response //electronicMailAddress/CharacterString
0
2697
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2698
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2699
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2700
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2701
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2702
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2703
* print organisationpath
0
09:37:09.356 [print] Beheer PDOK
2704
* print operateson
0
09:37:09.356 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3373be8c-8539-4763-bc22-eba23ac1898f#MD_DataIdentification
2705
* eval db.writeln('"6d23a02b-5a8a-447e-a481-ddb2a085c1fb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2706
* eval db.writeln('"6d23a02b-5a8a-447e-a481-ddb2a085c1fb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.83:18]58353cdf-b3a1-454e-9284-932a7e815e57
ms: 2550
>>
Background:
2707
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
2708
* def mystorage = Java.type('storage.DataStorage')
1
2709
* def db = new mystorage
6
2710
* def db = db.setfeature(karate.info.featureFileName)
4
2711
* def separator = java.lang.System.getProperty("file.separator")
2
2712
* def outputpath = db.outputpath()
1
2713
* eval db.ensureDirectory(outputpath)
2
2714
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
2715
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2716
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2717
Given path 'geonetwork/srv/dut/inspire'
1
2718
And param service = 'CSW'
0
2719
And param version = '2.0.2'
0
2720
And param request = 'GetRecordById'
0
2721
And param id = '58353cdf-b3a1-454e-9284-932a7e815e57'
1
2722
And param elementsetname = 'full'
0
2723
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2724
When method get
2519
2725
Then status 200
0
2726
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '58353cdf-b3a1-454e-9284-932a7e815e57'
3
2727
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2728
* def title = get response //citation/CI_Citation/title/CharacterString
1
2729
* def email = get response //electronicMailAddress/CharacterString
1
2730
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2731
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
2732
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
2733
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
2734
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
2735
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2736
* print organisationpath
0
09:37:08.845 [print] Beheer PDOK
2737
* print operateson
2
09:37:08.847 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification
2738
* eval db.writeln('"58353cdf-b3a1-454e-9284-932a7e815e57","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
8
2739
* eval db.writeln('"58353cdf-b3a1-454e-9284-932a7e815e57","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
8
Scenario Outline: [1.84:18]f0c6fbfe-a172-4223-8af3-58f6a28c881d
ms: 3102
>>
Background:
2740
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
2741
* def mystorage = Java.type('storage.DataStorage')
1
2742
* def db = new mystorage
6
2743
* def db = db.setfeature(karate.info.featureFileName)
4
2744
* def separator = java.lang.System.getProperty("file.separator")
2
2745
* def outputpath = db.outputpath()
1
2746
* eval db.ensureDirectory(outputpath)
2
2747
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
2748
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2749
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2750
Given path 'geonetwork/srv/dut/inspire'
7
2751
And param service = 'CSW'
0
2752
And param version = '2.0.2'
0
2753
And param request = 'GetRecordById'
0
2754
And param id = 'f0c6fbfe-a172-4223-8af3-58f6a28c881d'
1
2755
And param elementsetname = 'full'
0
2756
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2757
When method get
3077
2758
Then status 200
0
2759
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f0c6fbfe-a172-4223-8af3-58f6a28c881d'
1
2760
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2761
* def title = get response //citation/CI_Citation/title/CharacterString
0
2762
* def email = get response //electronicMailAddress/CharacterString
0
2763
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
7
2764
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2765
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
2766
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2767
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2768
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2769
* print organisationpath
0
09:37:09.530 [print]
2770
* print operateson
0
09:37:09.530 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=12bb57cd-73e0-41ba-a1e9-6d986b9109d3&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
2771
* eval db.writeln('"f0c6fbfe-a172-4223-8af3-58f6a28c881d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2772
* eval db.writeln('"f0c6fbfe-a172-4223-8af3-58f6a28c881d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.85:18]8129296b-b9c1-489f-990a-df4a879e12b2
ms: 3008
>>
Background:
2773
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
2774
* def mystorage = Java.type('storage.DataStorage')
1
2775
* def db = new mystorage
6
2776
* def db = db.setfeature(karate.info.featureFileName)
4
2777
* def separator = java.lang.System.getProperty("file.separator")
2
2778
* def outputpath = db.outputpath()
1
2779
* eval db.ensureDirectory(outputpath)
2
2780
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
2781
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2782
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2783
Given path 'geonetwork/srv/dut/inspire'
0
2784
And param service = 'CSW'
0
2785
And param version = '2.0.2'
0
2786
And param request = 'GetRecordById'
0
2787
And param id = '8129296b-b9c1-489f-990a-df4a879e12b2'
1
2788
And param elementsetname = 'full'
0
2789
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2790
When method get
2997
2791
Then status 200
0
2792
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8129296b-b9c1-489f-990a-df4a879e12b2'
1
2793
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2794
* def title = get response //citation/CI_Citation/title/CharacterString
1
2795
* def email = get response //electronicMailAddress/CharacterString
1
2796
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2797
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
2798
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
2799
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
2800
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2801
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2802
* print organisationpath
0
09:37:09.441 [print]
2803
* print operateson
0
09:37:09.442 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=12bb57cd-73e0-41ba-a1e9-6d986b9109d3&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
2804
* eval db.writeln('"8129296b-b9c1-489f-990a-df4a879e12b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2805
* eval db.writeln('"8129296b-b9c1-489f-990a-df4a879e12b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.86:18]a6098c24-4caf-4528-954c-672b9ec6cf78
ms: 2632
>>
Background:
2806
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
2807
* def mystorage = Java.type('storage.DataStorage')
1
2808
* def db = new mystorage
6
2809
* def db = db.setfeature(karate.info.featureFileName)
4
2810
* def separator = java.lang.System.getProperty("file.separator")
2
2811
* def outputpath = db.outputpath()
1
2812
* eval db.ensureDirectory(outputpath)
2
2813
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
2814
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2815
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2816
Given path 'geonetwork/srv/dut/inspire'
1
2817
And param service = 'CSW'
0
2818
And param version = '2.0.2'
0
2819
And param request = 'GetRecordById'
0
2820
And param id = 'a6098c24-4caf-4528-954c-672b9ec6cf78'
1
2821
And param elementsetname = 'full'
0
2822
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2823
When method get
2617
2824
Then status 200
0
2825
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a6098c24-4caf-4528-954c-672b9ec6cf78'
1
2826
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2827
* def title = get response //citation/CI_Citation/title/CharacterString
1
2828
* def email = get response //electronicMailAddress/CharacterString
1
2829
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2830
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
2831
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2832
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2833
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
4
2834
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2835
* print organisationpath
0
09:37:09.094 [print]
2836
* print operateson
0
09:37:09.094 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=32a21114-8694-40ce-ab76-9dcd885c7861#MD_DataIdentification
2837
* eval db.writeln('"a6098c24-4caf-4528-954c-672b9ec6cf78","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2838
* eval db.writeln('"a6098c24-4caf-4528-954c-672b9ec6cf78","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.87:18]a8ad0d7d-ea9e-4261-bc92-772e99a41387
ms: 3006
>>
Background:
2839
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
2840
* def mystorage = Java.type('storage.DataStorage')
1
2841
* def db = new mystorage
6
2842
* def db = db.setfeature(karate.info.featureFileName)
4
2843
* def separator = java.lang.System.getProperty("file.separator")
2
2844
* def outputpath = db.outputpath()
1
2845
* eval db.ensureDirectory(outputpath)
2
2846
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
2847
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2848
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2849
Given path 'geonetwork/srv/dut/inspire'
1
2850
And param service = 'CSW'
0
2851
And param version = '2.0.2'
0
2852
And param request = 'GetRecordById'
0
2853
And param id = 'a8ad0d7d-ea9e-4261-bc92-772e99a41387'
0
2854
And param elementsetname = 'full'
0
2855
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2856
When method get
2994
2857
Then status 200
0
2858
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a8ad0d7d-ea9e-4261-bc92-772e99a41387'
1
2859
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2860
* def title = get response //citation/CI_Citation/title/CharacterString
0
2861
* def email = get response //electronicMailAddress/CharacterString
0
2862
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2863
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2864
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2865
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2866
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2867
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2868
* print organisationpath
0
09:37:09.492 [print] Beheer PDOK
2869
* print operateson
1
09:37:09.492 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/eng/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76091be7-358a-4a44-8182-b4139c96c6a4#MD_DataIdentification
2870
* eval db.writeln('"a8ad0d7d-ea9e-4261-bc92-772e99a41387","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2871
* eval db.writeln('"a8ad0d7d-ea9e-4261-bc92-772e99a41387","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.88:18]5b40b9b4-fcb2-4553-bcab-34824c43c992
ms: 2835
>>
Background:
2872
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
2873
* def mystorage = Java.type('storage.DataStorage')
1
2874
* def db = new mystorage
6
2875
* def db = db.setfeature(karate.info.featureFileName)
4
2876
* def separator = java.lang.System.getProperty("file.separator")
2
2877
* def outputpath = db.outputpath()
1
2878
* eval db.ensureDirectory(outputpath)
2
2879
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
2880
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2881
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2882
Given path 'geonetwork/srv/dut/inspire'
1
2883
And param service = 'CSW'
0
2884
And param version = '2.0.2'
0
2885
And param request = 'GetRecordById'
0
2886
And param id = '5b40b9b4-fcb2-4553-bcab-34824c43c992'
1
2887
And param elementsetname = 'full'
0
2888
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2889
When method get
2800
2890
Then status 200
0
2891
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5b40b9b4-fcb2-4553-bcab-34824c43c992'
1
2892
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2893
* def title = get response //citation/CI_Citation/title/CharacterString
1
2894
* def email = get response //electronicMailAddress/CharacterString
1
2895
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2896
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
2897
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
7
2898
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2899
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2900
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2901
* print organisationpath
4
09:37:09.515 [print] Beheer PDOK
2902
* print operateson
3
09:37:09.519 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a5f961e9-ebdd-41e2-b8e8-ab33ed340a83#MD_DataIdentification
2903
* eval db.writeln('"5b40b9b4-fcb2-4553-bcab-34824c43c992","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
5
2904
* eval db.writeln('"5b40b9b4-fcb2-4553-bcab-34824c43c992","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
9
Scenario Outline: [1.89:18]e69bb2e9-eff4-4fb3-86a6-057cf628e761
ms: 3239
>>
Background:
2905
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
2906
* def mystorage = Java.type('storage.DataStorage')
1
2907
* def db = new mystorage
6
2908
* def db = db.setfeature(karate.info.featureFileName)
4
2909
* def separator = java.lang.System.getProperty("file.separator")
2
2910
* def outputpath = db.outputpath()
1
2911
* eval db.ensureDirectory(outputpath)
2
2912
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
2913
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2914
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2915
Given path 'geonetwork/srv/dut/inspire'
1
2916
And param service = 'CSW'
0
2917
And param version = '2.0.2'
0
2918
And param request = 'GetRecordById'
0
2919
And param id = 'e69bb2e9-eff4-4fb3-86a6-057cf628e761'
1
2920
And param elementsetname = 'full'
0
2921
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2922
When method get
3140
2923
Then status 200
0
2924
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e69bb2e9-eff4-4fb3-86a6-057cf628e761'
10
2925
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
19
2926
* def title = get response //citation/CI_Citation/title/CharacterString
6
2927
* def email = get response //electronicMailAddress/CharacterString
6
2928
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
6
2929
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
4
2930
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
4
2931
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
11
2932
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
15
2933
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
14
2934
* print organisationpath
0
09:37:10.013 [print] Beheer PDOK
2935
* print operateson
0
09:37:10.013 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=fcefa13c-44e2-4953-b6d6-1ddceebc57fc#MD_DataIdentification
2936
* eval db.writeln('"e69bb2e9-eff4-4fb3-86a6-057cf628e761","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
2937
* eval db.writeln('"e69bb2e9-eff4-4fb3-86a6-057cf628e761","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.90:18]1c9b43c3-064d-40c3-aa7c-879b7376ef6f
ms: 1933
>>
Background:
2938
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
2939
* def mystorage = Java.type('storage.DataStorage')
1
2940
* def db = new mystorage
6
2941
* def db = db.setfeature(karate.info.featureFileName)
4
2942
* def separator = java.lang.System.getProperty("file.separator")
2
2943
* def outputpath = db.outputpath()
1
2944
* eval db.ensureDirectory(outputpath)
2
2945
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
2946
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2947
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2948
Given path 'geonetwork/srv/dut/inspire'
1
2949
And param service = 'CSW'
0
2950
And param version = '2.0.2'
0
2951
And param request = 'GetRecordById'
0
2952
And param id = '1c9b43c3-064d-40c3-aa7c-879b7376ef6f'
1
2953
And param elementsetname = 'full'
0
2954
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2955
When method get
1855
2956
Then status 200
0
2957
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1c9b43c3-064d-40c3-aa7c-879b7376ef6f'
1
2958
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2959
* def title = get response //citation/CI_Citation/title/CharacterString
1
2960
* def email = get response //electronicMailAddress/CharacterString
0
2961
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
36
2962
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
2963
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2964
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2965
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
2966
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2967
* print organisationpath
0
09:37:08.767 [print] Beheer PDOK
2968
* print operateson
0
09:37:08.767 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=dc5b522e-3e14-4738-9e8e-2401e1b19ef2#MD_DataIdentification
2969
* eval db.writeln('"1c9b43c3-064d-40c3-aa7c-879b7376ef6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
28
2970
* eval db.writeln('"1c9b43c3-064d-40c3-aa7c-879b7376ef6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.91:18]b87a0095-2ad7-4dbb-81a1-fed060df79e1
ms: 1572
>>
Background:
2971
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
2972
* def mystorage = Java.type('storage.DataStorage')
1
2973
* def db = new mystorage
6
2974
* def db = db.setfeature(karate.info.featureFileName)
4
2975
* def separator = java.lang.System.getProperty("file.separator")
2
2976
* def outputpath = db.outputpath()
1
2977
* eval db.ensureDirectory(outputpath)
2
2978
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
2979
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
2980
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
2981
Given path 'geonetwork/srv/dut/inspire'
1
2982
And param service = 'CSW'
0
2983
And param version = '2.0.2'
0
2984
And param request = 'GetRecordById'
0
2985
And param id = 'b87a0095-2ad7-4dbb-81a1-fed060df79e1'
1
2986
And param elementsetname = 'full'
0
2987
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2988
When method get
1557
2989
Then status 200
0
2990
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b87a0095-2ad7-4dbb-81a1-fed060df79e1'
6
2991
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2992
* def title = get response //citation/CI_Citation/title/CharacterString
0
2993
* def email = get response //electronicMailAddress/CharacterString
0
2994
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2995
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2996
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2997
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2998
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2999
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3000
* print organisationpath
0
09:37:08.541 [print] Beheer PDOK
3001
* print operateson
0
09:37:08.542 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18
3002
* eval db.writeln('"b87a0095-2ad7-4dbb-81a1-fed060df79e1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3003
* eval db.writeln('"b87a0095-2ad7-4dbb-81a1-fed060df79e1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.92:18]a7aeddf2-3b37-4668-9c75-de93d9326276
ms: 2061
>>
Background:
3004
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
3005
* def mystorage = Java.type('storage.DataStorage')
1
3006
* def db = new mystorage
6
3007
* def db = db.setfeature(karate.info.featureFileName)
4
3008
* def separator = java.lang.System.getProperty("file.separator")
2
3009
* def outputpath = db.outputpath()
1
3010
* eval db.ensureDirectory(outputpath)
2
3011
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
3012
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3013
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3014
Given path 'geonetwork/srv/dut/inspire'
1
3015
And param service = 'CSW'
0
3016
And param version = '2.0.2'
0
3017
And param request = 'GetRecordById'
0
3018
And param id = 'a7aeddf2-3b37-4668-9c75-de93d9326276'
0
3019
And param elementsetname = 'full'
0
3020
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3021
When method get
2041
3022
Then status 200
0
3023
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a7aeddf2-3b37-4668-9c75-de93d9326276'
1
3024
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3025
* def title = get response //citation/CI_Citation/title/CharacterString
0
3026
* def email = get response //electronicMailAddress/CharacterString
0
3027
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3028
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3029
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
3030
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3031
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
3032
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3033
* print organisationpath
0
09:37:09.089 [print] Beheer PDOK
3034
* print operateson
0
09:37:09.089 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=280ed37a-b8d2-4ac5-8567-04d84fad3a41#MD_DataIdentification
3035
* eval db.writeln('"a7aeddf2-3b37-4668-9c75-de93d9326276","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
9
3036
* eval db.writeln('"a7aeddf2-3b37-4668-9c75-de93d9326276","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.93:18]d415c10a-8dbf-4c01-8061-4689e5db38ac
ms: 1571
>>
Background:
3037
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
3038
* def mystorage = Java.type('storage.DataStorage')
1
3039
* def db = new mystorage
6
3040
* def db = db.setfeature(karate.info.featureFileName)
4
3041
* def separator = java.lang.System.getProperty("file.separator")
2
3042
* def outputpath = db.outputpath()
1
3043
* eval db.ensureDirectory(outputpath)
2
3044
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
3045
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3046
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3047
Given path 'geonetwork/srv/dut/inspire'
0
3048
And param service = 'CSW'
0
3049
And param version = '2.0.2'
0
3050
And param request = 'GetRecordById'
0
3051
And param id = 'd415c10a-8dbf-4c01-8061-4689e5db38ac'
1
3052
And param elementsetname = 'full'
0
3053
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3054
When method get
1553
3055
Then status 200
0
3056
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd415c10a-8dbf-4c01-8061-4689e5db38ac'
2
3057
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3058
* def title = get response //citation/CI_Citation/title/CharacterString
1
3059
* def email = get response //electronicMailAddress/CharacterString
1
3060
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3061
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3062
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3063
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3064
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
3065
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3066
* print organisationpath
0
09:37:08.604 [print] Beheer PDOK
3067
* print operateson
0
09:37:08.604 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2220c0dd-3720-4e39-a130-171531c1e694#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=78d31ab4-4116-45b7-bcf5-e14960916b0f#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=b250f3a4-ed78-4c85-8cd5-f1af43841c6d#MD_DataIdentification" ]
3068
* eval db.writeln('"d415c10a-8dbf-4c01-8061-4689e5db38ac","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
8
3069
* eval db.writeln('"d415c10a-8dbf-4c01-8061-4689e5db38ac","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.94:18]918388cf-9d8c-4264-b108-3e375bde0d52
ms: 2242
>>
Background:
3070
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
3071
* def mystorage = Java.type('storage.DataStorage')
1
3072
* def db = new mystorage
6
3073
* def db = db.setfeature(karate.info.featureFileName)
4
3074
* def separator = java.lang.System.getProperty("file.separator")
2
3075
* def outputpath = db.outputpath()
1
3076
* eval db.ensureDirectory(outputpath)
2
3077
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
3078
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3079
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3080
Given path 'geonetwork/srv/dut/inspire'
1
3081
And param service = 'CSW'
0
3082
And param version = '2.0.2'
0
3083
And param request = 'GetRecordById'
0
3084
And param id = '918388cf-9d8c-4264-b108-3e375bde0d52'
1
3085
And param elementsetname = 'full'
0
3086
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3087
When method get
2217
3088
Then status 200
0
3089
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '918388cf-9d8c-4264-b108-3e375bde0d52'
1
3090
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3091
* def title = get response //citation/CI_Citation/title/CharacterString
1
3092
* def email = get response //electronicMailAddress/CharacterString
0
3093
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3094
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3095
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3096
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
3097
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3098
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3099
* print organisationpath
0
09:37:09.510 [print] Beheer PDOK
3100
* print operateson
8
09:37:09.518 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=be1b1514-8d1f-48e1-9624-fee9b784138b#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=db60a314-5583-437d-a2ff-1e59cc57704e#MD_DataIdentification" ]
3101
* eval db.writeln('"918388cf-9d8c-4264-b108-3e375bde0d52","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
9
3102
* eval db.writeln('"918388cf-9d8c-4264-b108-3e375bde0d52","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.95:18]23aa5150-fcc7-46ea-ae63-a7f198d8bc18
ms: 2265
>>
Background:
3103
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
3104
* def mystorage = Java.type('storage.DataStorage')
1
3105
* def db = new mystorage
6
3106
* def db = db.setfeature(karate.info.featureFileName)
4
3107
* def separator = java.lang.System.getProperty("file.separator")
2
3108
* def outputpath = db.outputpath()
1
3109
* eval db.ensureDirectory(outputpath)
2
3110
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
3111
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3112
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3113
Given path 'geonetwork/srv/dut/inspire'
1
3114
And param service = 'CSW'
0
3115
And param version = '2.0.2'
0
3116
And param request = 'GetRecordById'
0
3117
And param id = '23aa5150-fcc7-46ea-ae63-a7f198d8bc18'
1
3118
And param elementsetname = 'full'
0
3119
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3120
When method get
2243
3121
Then status 200
0
3122
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '23aa5150-fcc7-46ea-ae63-a7f198d8bc18'
2
3123
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3124
* def title = get response //citation/CI_Citation/title/CharacterString
10
3125
* def email = get response //electronicMailAddress/CharacterString
1
3126
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3127
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3128
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3129
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3130
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3131
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3132
* print organisationpath
0
09:37:09.554 [print]
3133
* print operateson
0
09:37:09.555 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2cc2c30c-91b8-412a-a060-e84d25272581#MD_DataIdentification
3134
* eval db.writeln('"23aa5150-fcc7-46ea-ae63-a7f198d8bc18","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3135
* eval db.writeln('"23aa5150-fcc7-46ea-ae63-a7f198d8bc18","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.96:18]578f993f-4d0b-4c4a-a08b-dfa9e1d1376e
ms: 2135
>>
Background:
3136
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
3137
* def mystorage = Java.type('storage.DataStorage')
1
3138
* def db = new mystorage
6
3139
* def db = db.setfeature(karate.info.featureFileName)
4
3140
* def separator = java.lang.System.getProperty("file.separator")
2
3141
* def outputpath = db.outputpath()
1
3142
* eval db.ensureDirectory(outputpath)
2
3143
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
3144
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3145
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3146
Given path 'geonetwork/srv/dut/inspire'
1
3147
And param service = 'CSW'
0
3148
And param version = '2.0.2'
0
3149
And param request = 'GetRecordById'
0
3150
And param id = '578f993f-4d0b-4c4a-a08b-dfa9e1d1376e'
1
3151
And param elementsetname = 'full'
0
3152
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3153
When method get
2117
3154
Then status 200
0
3155
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '578f993f-4d0b-4c4a-a08b-dfa9e1d1376e'
1
3156
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3157
* def title = get response //citation/CI_Citation/title/CharacterString
0
3158
* def email = get response //electronicMailAddress/CharacterString
0
3159
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3160
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3161
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3162
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3163
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3164
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3165
* print organisationpath
0
09:37:09.547 [print] Beheer PDOK
3166
* print operateson
0
09:37:09.548 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=710c381c-ab2d-45d5-a45d-af2eba811e5f#MD_DataIdentification
3167
* eval db.writeln('"578f993f-4d0b-4c4a-a08b-dfa9e1d1376e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3168
* eval db.writeln('"578f993f-4d0b-4c4a-a08b-dfa9e1d1376e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
10
Scenario Outline: [1.97:18]a88b4ed1-49c1-4f91-991e-dc1cc7c575f7
ms: 1938
>>
Background:
3169
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
3170
* def mystorage = Java.type('storage.DataStorage')
1
3171
* def db = new mystorage
6
3172
* def db = db.setfeature(karate.info.featureFileName)
4
3173
* def separator = java.lang.System.getProperty("file.separator")
2
3174
* def outputpath = db.outputpath()
1
3175
* eval db.ensureDirectory(outputpath)
2
3176
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
3177
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3178
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3179
Given path 'geonetwork/srv/dut/inspire'
1
3180
And param service = 'CSW'
0
3181
And param version = '2.0.2'
0
3182
And param request = 'GetRecordById'
0
3183
And param id = 'a88b4ed1-49c1-4f91-991e-dc1cc7c575f7'
1
3184
And param elementsetname = 'full'
0
3185
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3186
When method get
1926
3187
Then status 200
0
3188
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a88b4ed1-49c1-4f91-991e-dc1cc7c575f7'
1
3189
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3190
* def title = get response //citation/CI_Citation/title/CharacterString
0
3191
* def email = get response //electronicMailAddress/CharacterString
0
3192
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3193
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3194
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3195
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3196
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3197
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3198
* print organisationpath
0
09:37:09.630 [print] Interprovinciaal Overleg
3199
* print operateson
0
09:37:09.630 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=8e986f37-74d7-4b6c-8026-87c960456423&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=afc450bd-65b3-4e59-b0fb-619869bf6ada&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification" ]
3200
* eval db.writeln('"a88b4ed1-49c1-4f91-991e-dc1cc7c575f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3201
* eval db.writeln('"a88b4ed1-49c1-4f91-991e-dc1cc7c575f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.98:18]27430d0d-e4da-4f94-ba18-7ff01d86c19e
ms: 2128
>>
Background:
3202
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
3203
* def mystorage = Java.type('storage.DataStorage')
1
3204
* def db = new mystorage
6
3205
* def db = db.setfeature(karate.info.featureFileName)
4
3206
* def separator = java.lang.System.getProperty("file.separator")
2
3207
* def outputpath = db.outputpath()
1
3208
* eval db.ensureDirectory(outputpath)
2
3209
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
3210
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3211
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3212
Given path 'geonetwork/srv/dut/inspire'
1
3213
And param service = 'CSW'
0
3214
And param version = '2.0.2'
0
3215
And param request = 'GetRecordById'
0
3216
And param id = '27430d0d-e4da-4f94-ba18-7ff01d86c19e'
1
3217
And param elementsetname = 'full'
0
3218
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3219
When method get
2116
3220
Then status 200
0
3221
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '27430d0d-e4da-4f94-ba18-7ff01d86c19e'
1
3222
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3223
* def title = get response //citation/CI_Citation/title/CharacterString
0
3224
* def email = get response //electronicMailAddress/CharacterString
0
3225
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3226
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
3227
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3228
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3229
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3230
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3231
* print organisationpath
0
09:37:09.846 [print] TNO Geologische Dienst Nederland
3232
* print operateson
0
09:37:09.846 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=b61a773c-ecad-4e60-93e9-0a4caac0b52f&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
3233
* eval db.writeln('"27430d0d-e4da-4f94-ba18-7ff01d86c19e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3234
* eval db.writeln('"27430d0d-e4da-4f94-ba18-7ff01d86c19e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.99:18]18bcfb8c-b73d-4e9c-8348-7ee6cd49ec79
ms: 2069
>>
Background:
3235
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
3236
* def mystorage = Java.type('storage.DataStorage')
1
3237
* def db = new mystorage
6
3238
* def db = db.setfeature(karate.info.featureFileName)
4
3239
* def separator = java.lang.System.getProperty("file.separator")
2
3240
* def outputpath = db.outputpath()
1
3241
* eval db.ensureDirectory(outputpath)
2
3242
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
3243
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3244
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3245
Given path 'geonetwork/srv/dut/inspire'
1
3246
And param service = 'CSW'
0
3247
And param version = '2.0.2'
0
3248
And param request = 'GetRecordById'
0
3249
And param id = '18bcfb8c-b73d-4e9c-8348-7ee6cd49ec79'
1
3250
And param elementsetname = 'full'
0
3251
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3252
When method get
2037
3253
Then status 200
0
3254
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '18bcfb8c-b73d-4e9c-8348-7ee6cd49ec79'
2
3255
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3256
* def title = get response //citation/CI_Citation/title/CharacterString
11
3257
* def email = get response //electronicMailAddress/CharacterString
1
3258
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3259
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
3260
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
3261
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
3262
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
3263
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3264
* print organisationpath
0
09:37:09.954 [print] Beheer PDOK
3265
* print operateson
0
09:37:09.982 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=8f45b8ef-0ce8-463a-9059-5efdcecb785c#MD_DataIdentification
3266
* eval db.writeln('"18bcfb8c-b73d-4e9c-8348-7ee6cd49ec79","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
10
3267
* eval db.writeln('"18bcfb8c-b73d-4e9c-8348-7ee6cd49ec79","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.100:18]9940c446-6fd4-4ab3-a4de-7d0ee028a8d1
ms: 1907
>>
Background:
3268
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
3269
* def mystorage = Java.type('storage.DataStorage')
1
3270
* def db = new mystorage
6
3271
* def db = db.setfeature(karate.info.featureFileName)
4
3272
* def separator = java.lang.System.getProperty("file.separator")
2
3273
* def outputpath = db.outputpath()
1
3274
* eval db.ensureDirectory(outputpath)
2
3275
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
3276
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3277
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3278
Given path 'geonetwork/srv/dut/inspire'
1
3279
And param service = 'CSW'
0
3280
And param version = '2.0.2'
0
3281
And param request = 'GetRecordById'
0
3282
And param id = '9940c446-6fd4-4ab3-a4de-7d0ee028a8d1'
1
3283
And param elementsetname = 'full'
0
3284
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3285
When method get
1831
3286
Then status 200
0
3287
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9940c446-6fd4-4ab3-a4de-7d0ee028a8d1'
1
3288
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3289
* def title = get response //citation/CI_Citation/title/CharacterString
1
3290
* def email = get response //electronicMailAddress/CharacterString
1
3291
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3292
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
2
3293
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3294
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3295
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
62
3296
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3297
* print organisationpath
0
09:37:09.912 [print] Beheer PDOK
3298
* print operateson
0
09:37:09.912 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2220c0dd-3720-4e39-a130-171531c1e694#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=78d31ab4-4116-45b7-bcf5-e14960916b0f#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=b250f3a4-ed78-4c85-8cd5-f1af43841c6d#MD_DataIdentification" ]
3299
* eval db.writeln('"9940c446-6fd4-4ab3-a4de-7d0ee028a8d1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3300
* eval db.writeln('"9940c446-6fd4-4ab3-a4de-7d0ee028a8d1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.101:18]82541a1f-2e4e-459f-ab2f-e97cac3ad040
ms: 1995
>>
Background:
3301
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
3302
* def mystorage = Java.type('storage.DataStorage')
1
3303
* def db = new mystorage
6
3304
* def db = db.setfeature(karate.info.featureFileName)
4
3305
* def separator = java.lang.System.getProperty("file.separator")
2
3306
* def outputpath = db.outputpath()
1
3307
* eval db.ensureDirectory(outputpath)
2
3308
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
3309
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3310
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3311
Given path 'geonetwork/srv/dut/inspire'
1
3312
And param service = 'CSW'
0
3313
And param version = '2.0.2'
0
3314
And param request = 'GetRecordById'
0
3315
And param id = '82541a1f-2e4e-459f-ab2f-e97cac3ad040'
1
3316
And param elementsetname = 'full'
0
3317
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3318
When method get
1876
3319
Then status 200
0
3320
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '82541a1f-2e4e-459f-ab2f-e97cac3ad040'
16
3321
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
5
3322
* def title = get response //citation/CI_Citation/title/CharacterString
35
3323
* def email = get response //electronicMailAddress/CharacterString
2
3324
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
11
3325
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
2
3326
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
2
3327
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
25
3328
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
13
3329
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
3330
* print organisationpath
0
09:37:10.021 [print] Beheer PDOK
3331
* print operateson
0
09:37:10.021 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=03671a9e-6aaf-464d-be99-9aad25cef9e3#MD_DataIdentification
3332
* eval db.writeln('"82541a1f-2e4e-459f-ab2f-e97cac3ad040","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3333
* eval db.writeln('"82541a1f-2e4e-459f-ab2f-e97cac3ad040","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.102:18]a5437cb4-98ef-4c8e-a5ed-000e7a82b774
ms: 1888
>>
Background:
3334
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
3335
* def mystorage = Java.type('storage.DataStorage')
1
3336
* def db = new mystorage
6
3337
* def db = db.setfeature(karate.info.featureFileName)
4
3338
* def separator = java.lang.System.getProperty("file.separator")
2
3339
* def outputpath = db.outputpath()
1
3340
* eval db.ensureDirectory(outputpath)
2
3341
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
3342
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3343
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3344
Given path 'geonetwork/srv/dut/inspire'
1
3345
And param service = 'CSW'
0
3346
And param version = '2.0.2'
0
3347
And param request = 'GetRecordById'
0
3348
And param id = 'a5437cb4-98ef-4c8e-a5ed-000e7a82b774'
1
3349
And param elementsetname = 'full'
0
3350
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3351
When method get
1857
3352
Then status 200
0
3353
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a5437cb4-98ef-4c8e-a5ed-000e7a82b774'
2
3354
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3355
* def title = get response //citation/CI_Citation/title/CharacterString
1
3356
* def email = get response //electronicMailAddress/CharacterString
1
3357
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3358
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
3359
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
12
3360
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
3361
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
3362
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3363
* print organisationpath
0
09:37:09.997 [print]
3364
* print operateson
0
09:37:09.997 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1462bbce-ccd3-4362-83d8-4535ca8f44eb#MD_DataIdentification
3365
* eval db.writeln('"a5437cb4-98ef-4c8e-a5ed-000e7a82b774","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
6
3366
* eval db.writeln('"a5437cb4-98ef-4c8e-a5ed-000e7a82b774","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.103:18]f1e26638-3b45-4dd5-9ad0-f7d3654700f1
ms: 1888
>>
Background:
3367
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
3368
* def mystorage = Java.type('storage.DataStorage')
1
3369
* def db = new mystorage
6
3370
* def db = db.setfeature(karate.info.featureFileName)
4
3371
* def separator = java.lang.System.getProperty("file.separator")
2
3372
* def outputpath = db.outputpath()
1
3373
* eval db.ensureDirectory(outputpath)
2
3374
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
3375
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3376
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3377
Given path 'geonetwork/srv/dut/inspire'
1
3378
And param service = 'CSW'
0
3379
And param version = '2.0.2'
0
3380
And param request = 'GetRecordById'
0
3381
And param id = 'f1e26638-3b45-4dd5-9ad0-f7d3654700f1'
1
3382
And param elementsetname = 'full'
0
3383
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3384
When method get
1857
3385
Then status 200
0
3386
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f1e26638-3b45-4dd5-9ad0-f7d3654700f1'
2
3387
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
7
3388
* def title = get response //citation/CI_Citation/title/CharacterString
2
3389
* def email = get response //electronicMailAddress/CharacterString
1
3390
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3391
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
3392
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
3393
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
3394
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
3395
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3396
* print organisationpath
0
09:37:10.065 [print] Beheer PDOK
3397
* print operateson
0
09:37:10.065 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f605a24f-60cd-4c40-94c8-2186aba3ddd0#MD_DataIdentification
3398
* eval db.writeln('"f1e26638-3b45-4dd5-9ad0-f7d3654700f1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
10
3399
* eval db.writeln('"f1e26638-3b45-4dd5-9ad0-f7d3654700f1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.104:18]2b9da196-422e-4b0e-a5ba-ba41ade308e9
ms: 2010
>>
Background:
3400
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
3401
* def mystorage = Java.type('storage.DataStorage')
1
3402
* def db = new mystorage
6
3403
* def db = db.setfeature(karate.info.featureFileName)
4
3404
* def separator = java.lang.System.getProperty("file.separator")
2
3405
* def outputpath = db.outputpath()
1
3406
* eval db.ensureDirectory(outputpath)
2
3407
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
3408
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3409
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3410
Given path 'geonetwork/srv/dut/inspire'
1
3411
And param service = 'CSW'
0
3412
And param version = '2.0.2'
0
3413
And param request = 'GetRecordById'
0
3414
And param id = '2b9da196-422e-4b0e-a5ba-ba41ade308e9'
1
3415
And param elementsetname = 'full'
0
3416
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3417
When method get
1986
3418
Then status 200
0
3419
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2b9da196-422e-4b0e-a5ba-ba41ade308e9'
3
3420
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
3421
* def title = get response //citation/CI_Citation/title/CharacterString
2
3422
* def email = get response //electronicMailAddress/CharacterString
2
3423
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
3424
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
3425
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
3426
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
3427
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
3428
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
3429
* print organisationpath
0
09:37:10.229 [print] Beheer PDOK
3430
* print operateson
0
09:37:10.229 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=977e0e94-7aa9-4784-b2da-eaec44adb61b#MD_DataIdentification
3431
* eval db.writeln('"2b9da196-422e-4b0e-a5ba-ba41ade308e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
3432
* eval db.writeln('"2b9da196-422e-4b0e-a5ba-ba41ade308e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.105:18]97b49056-8ace-426c-ae3e-bf7efe4c000f
ms: 2031
>>
Background:
3433
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
3434
* def mystorage = Java.type('storage.DataStorage')
1
3435
* def db = new mystorage
6
3436
* def db = db.setfeature(karate.info.featureFileName)
4
3437
* def separator = java.lang.System.getProperty("file.separator")
2
3438
* def outputpath = db.outputpath()
1
3439
* eval db.ensureDirectory(outputpath)
2
3440
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
3441
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3442
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3443
Given path 'geonetwork/srv/dut/inspire'
1
3444
And param service = 'CSW'
0
3445
And param version = '2.0.2'
0
3446
And param request = 'GetRecordById'
0
3447
And param id = '97b49056-8ace-426c-ae3e-bf7efe4c000f'
1
3448
And param elementsetname = 'full'
0
3449
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3450
When method get
2011
3451
Then status 200
0
3452
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '97b49056-8ace-426c-ae3e-bf7efe4c000f'
1
3453
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3454
* def title = get response //citation/CI_Citation/title/CharacterString
0
3455
* def email = get response //electronicMailAddress/CharacterString
0
3456
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3457
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
4
3458
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3459
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3460
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
6
3461
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3462
* print organisationpath
0
09:37:10.411 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
3463
* print operateson
0
09:37:10.411 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=1249746f-c2a6-4639-98f2-251676b3528e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
3464
* eval db.writeln('"97b49056-8ace-426c-ae3e-bf7efe4c000f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
3465
* eval db.writeln('"97b49056-8ace-426c-ae3e-bf7efe4c000f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.106:18]4fb15e0d-d88f-40f1-b407-3d3edcf7e184
ms: 1861
>>
Background:
3466
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
3467
* def mystorage = Java.type('storage.DataStorage')
1
3468
* def db = new mystorage
6
3469
* def db = db.setfeature(karate.info.featureFileName)
4
3470
* def separator = java.lang.System.getProperty("file.separator")
2
3471
* def outputpath = db.outputpath()
1
3472
* eval db.ensureDirectory(outputpath)
2
3473
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
3474
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3475
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3476
Given path 'geonetwork/srv/dut/inspire'
1
3477
And param service = 'CSW'
0
3478
And param version = '2.0.2'
0
3479
And param request = 'GetRecordById'
0
3480
And param id = '4fb15e0d-d88f-40f1-b407-3d3edcf7e184'
4
3481
And param elementsetname = 'full'
0
3482
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3483
When method get
1845
3484
Then status 200
0
3485
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4fb15e0d-d88f-40f1-b407-3d3edcf7e184'
2
3486
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3487
* def title = get response //citation/CI_Citation/title/CharacterString
2
3488
* def email = get response //electronicMailAddress/CharacterString
0
3489
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3490
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3491
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3492
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3493
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3494
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3495
* print organisationpath
0
09:37:10.404 [print] Beheer PDOK
3496
* print operateson
0
09:37:10.404 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-cb527d-f6db-4835-b0cd-deb245241254#MD_DataIdentification
3497
* eval db.writeln('"4fb15e0d-d88f-40f1-b407-3d3edcf7e184","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3498
* eval db.writeln('"4fb15e0d-d88f-40f1-b407-3d3edcf7e184","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.107:18]e75b66ae-21b1-4303-aeb3-787608707b23
ms: 1968
>>
Background:
3499
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
3500
* def mystorage = Java.type('storage.DataStorage')
1
3501
* def db = new mystorage
6
3502
* def db = db.setfeature(karate.info.featureFileName)
4
3503
* def separator = java.lang.System.getProperty("file.separator")
2
3504
* def outputpath = db.outputpath()
1
3505
* eval db.ensureDirectory(outputpath)
2
3506
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
3507
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3508
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3509
Given path 'geonetwork/srv/dut/inspire'
2
3510
And param service = 'CSW'
0
3511
And param version = '2.0.2'
0
3512
And param request = 'GetRecordById'
0
3513
And param id = 'e75b66ae-21b1-4303-aeb3-787608707b23'
1
3514
And param elementsetname = 'full'
0
3515
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3516
When method get
1946
3517
Then status 200
0
3518
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e75b66ae-21b1-4303-aeb3-787608707b23'
2
3519
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3520
* def title = get response //citation/CI_Citation/title/CharacterString
1
3521
* def email = get response //electronicMailAddress/CharacterString
1
3522
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3523
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3524
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3525
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
3526
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3527
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3528
* print organisationpath
0
09:37:10.572 [print] Beheer PDOK
3529
* print operateson
0
09:37:10.572 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6318009c-7b11-4ab9-9929-735584dfb692#MD_DataIdentification
3530
* eval db.writeln('"e75b66ae-21b1-4303-aeb3-787608707b23","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
4
3531
* eval db.writeln('"e75b66ae-21b1-4303-aeb3-787608707b23","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.108:18]081bcfff-5f66-467c-95d0-d88dcf9aa4cf
ms: 1731
>>
Background:
3532
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
3533
* def mystorage = Java.type('storage.DataStorage')
1
3534
* def db = new mystorage
6
3535
* def db = db.setfeature(karate.info.featureFileName)
4
3536
* def separator = java.lang.System.getProperty("file.separator")
2
3537
* def outputpath = db.outputpath()
1
3538
* eval db.ensureDirectory(outputpath)
2
3539
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
3540
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3541
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3542
Given path 'geonetwork/srv/dut/inspire'
1
3543
And param service = 'CSW'
0
3544
And param version = '2.0.2'
0
3545
And param request = 'GetRecordById'
0
3546
And param id = '081bcfff-5f66-467c-95d0-d88dcf9aa4cf'
1
3547
And param elementsetname = 'full'
0
3548
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3549
When method get
1717
3550
Then status 200
0
3551
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '081bcfff-5f66-467c-95d0-d88dcf9aa4cf'
1
3552
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3553
* def title = get response //citation/CI_Citation/title/CharacterString
0
3554
* def email = get response //electronicMailAddress/CharacterString
1
3555
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3556
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
3557
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
3558
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
3559
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
3560
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3561
* print organisationpath
0
09:37:10.529 [print]
3562
* print operateson
0
09:37:10.529 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3f66964-a8c1-456f-9799-9cafca2cb7b1#MD_DataIdentification
3563
* eval db.writeln('"081bcfff-5f66-467c-95d0-d88dcf9aa4cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3564
* eval db.writeln('"081bcfff-5f66-467c-95d0-d88dcf9aa4cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.109:18]68d14b1c-71ad-4ce7-8267-45787a80c2d4
ms: 2071
>>
Background:
3565
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
3566
* def mystorage = Java.type('storage.DataStorage')
1
3567
* def db = new mystorage
6
3568
* def db = db.setfeature(karate.info.featureFileName)
4
3569
* def separator = java.lang.System.getProperty("file.separator")
2
3570
* def outputpath = db.outputpath()
1
3571
* eval db.ensureDirectory(outputpath)
2
3572
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
3573
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3574
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3575
Given path 'geonetwork/srv/dut/inspire'
1
3576
And param service = 'CSW'
0
3577
And param version = '2.0.2'
0
3578
And param request = 'GetRecordById'
0
3579
And param id = '68d14b1c-71ad-4ce7-8267-45787a80c2d4'
1
3580
And param elementsetname = 'full'
0
3581
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3582
When method get
2055
3583
Then status 200
0
3584
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68d14b1c-71ad-4ce7-8267-45787a80c2d4'
2
3585
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3586
* def title = get response //citation/CI_Citation/title/CharacterString
1
3587
* def email = get response //electronicMailAddress/CharacterString
1
3588
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3589
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3590
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3591
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3592
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3593
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3594
* print organisationpath
0
09:37:10.928 [print] Beheer PDOK
3595
* print operateson
3
09:37:10.930 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a5f961e9-ebdd-41e2-b8e8-ab33ed340a83#MD_DataIdentification
3596
* eval db.writeln('"68d14b1c-71ad-4ce7-8267-45787a80c2d4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3597
* eval db.writeln('"68d14b1c-71ad-4ce7-8267-45787a80c2d4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.110:18]65f9628b-0a58-4348-8fff-c2d02788acdb
ms: 1727
>>
Background:
3598
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
3599
* def mystorage = Java.type('storage.DataStorage')
1
3600
* def db = new mystorage
6
3601
* def db = db.setfeature(karate.info.featureFileName)
4
3602
* def separator = java.lang.System.getProperty("file.separator")
2
3603
* def outputpath = db.outputpath()
1
3604
* eval db.ensureDirectory(outputpath)
2
3605
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
3606
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3607
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3608
Given path 'geonetwork/srv/dut/inspire'
1
3609
And param service = 'CSW'
0
3610
And param version = '2.0.2'
0
3611
And param request = 'GetRecordById'
0
3612
And param id = '65f9628b-0a58-4348-8fff-c2d02788acdb'
0
3613
And param elementsetname = 'full'
0
3614
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3615
When method get
1714
3616
Then status 200
0
3617
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '65f9628b-0a58-4348-8fff-c2d02788acdb'
1
3618
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3619
* def title = get response //citation/CI_Citation/title/CharacterString
1
3620
* def email = get response //electronicMailAddress/CharacterString
1
3621
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3622
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3623
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3624
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3625
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3626
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3627
* print organisationpath
0
09:37:10.821 [print] Beheer PDOK
3628
* print operateson
0
09:37:10.821 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3a7dd0a6-d130-4c4c-b0ba-24365cf036e2#MD_DataIdentification
3629
* eval db.writeln('"65f9628b-0a58-4348-8fff-c2d02788acdb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3630
* eval db.writeln('"65f9628b-0a58-4348-8fff-c2d02788acdb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.111:18]7a914681-61bd-4f67-902b-45037a00c469
ms: 1922
>>
Background:
3631
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
3632
* def mystorage = Java.type('storage.DataStorage')
1
3633
* def db = new mystorage
6
3634
* def db = db.setfeature(karate.info.featureFileName)
4
3635
* def separator = java.lang.System.getProperty("file.separator")
2
3636
* def outputpath = db.outputpath()
1
3637
* eval db.ensureDirectory(outputpath)
2
3638
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
3639
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3640
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3641
Given path 'geonetwork/srv/dut/inspire'
0
3642
And param service = 'CSW'
0
3643
And param version = '2.0.2'
0
3644
And param request = 'GetRecordById'
0
3645
And param id = '7a914681-61bd-4f67-902b-45037a00c469'
1
3646
And param elementsetname = 'full'
0
3647
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3648
When method get
1906
3649
Then status 200
0
3650
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7a914681-61bd-4f67-902b-45037a00c469'
1
3651
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3652
* def title = get response //citation/CI_Citation/title/CharacterString
1
3653
* def email = get response //electronicMailAddress/CharacterString
1
3654
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3655
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3656
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3657
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
3658
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3659
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3660
* print organisationpath
0
09:37:11.014 [print]
3661
* print operateson
0
09:37:11.014 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=7939fd42-cf88-42c5-ab3b-232cf232a3ac#MD_DataIdentification
3662
* eval db.writeln('"7a914681-61bd-4f67-902b-45037a00c469","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
6
3663
* eval db.writeln('"7a914681-61bd-4f67-902b-45037a00c469","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.112:18]d4e573b0-bd3b-4d7b-a97d-e65841e6e0b4
ms: 1499
>>
Background:
3664
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
3665
* def mystorage = Java.type('storage.DataStorage')
1
3666
* def db = new mystorage
6
3667
* def db = db.setfeature(karate.info.featureFileName)
4
3668
* def separator = java.lang.System.getProperty("file.separator")
2
3669
* def outputpath = db.outputpath()
1
3670
* eval db.ensureDirectory(outputpath)
2
3671
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
3672
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3673
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3674
Given path 'geonetwork/srv/dut/inspire'
1
3675
And param service = 'CSW'
0
3676
And param version = '2.0.2'
0
3677
And param request = 'GetRecordById'
0
3678
And param id = 'd4e573b0-bd3b-4d7b-a97d-e65841e6e0b4'
1
3679
And param elementsetname = 'full'
0
3680
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3681
When method get
1487
3682
Then status 200
0
3683
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd4e573b0-bd3b-4d7b-a97d-e65841e6e0b4'
1
3684
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3685
* def title = get response //citation/CI_Citation/title/CharacterString
1
3686
* def email = get response //electronicMailAddress/CharacterString
1
3687
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3688
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3689
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3690
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3691
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
3692
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3693
* print organisationpath
0
09:37:10.855 [print] Beheer PDOK
3694
* print operateson
0
09:37:10.855 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=krw-782cab20-8328-45f1-a9b2-c27d07c14066#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=622a632a-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2e31680f-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=krw-f7bb2351-9788-42ea-a58b-a5ee1842304e#MD_DataIdentification" ]
3695
* eval db.writeln('"d4e573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3696
* eval db.writeln('"d4e573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.113:18]2f12ef7d-3eb4-46a9-8b45-702a0f054d57
ms: 1427
>>
Background:
3697
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
3698
* def mystorage = Java.type('storage.DataStorage')
1
3699
* def db = new mystorage
6
3700
* def db = db.setfeature(karate.info.featureFileName)
4
3701
* def separator = java.lang.System.getProperty("file.separator")
2
3702
* def outputpath = db.outputpath()
1
3703
* eval db.ensureDirectory(outputpath)
2
3704
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
3705
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3706
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3707
Given path 'geonetwork/srv/dut/inspire'
1
3708
And param service = 'CSW'
0
3709
And param version = '2.0.2'
0
3710
And param request = 'GetRecordById'
0
3711
And param id = '2f12ef7d-3eb4-46a9-8b45-702a0f054d57'
1
3712
And param elementsetname = 'full'
0
3713
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3714
When method get
1414
3715
Then status 200
0
3716
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2f12ef7d-3eb4-46a9-8b45-702a0f054d57'
1
3717
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3718
* def title = get response //citation/CI_Citation/title/CharacterString
1
3719
* def email = get response //electronicMailAddress/CharacterString
0
3720
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3721
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3722
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3723
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3724
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3725
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3726
* print organisationpath
1
09:37:10.869 [print] Beheer PDOK
3727
* print operateson
0
09:37:10.869 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification
3728
* eval db.writeln('"2f12ef7d-3eb4-46a9-8b45-702a0f054d57","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3729
* eval db.writeln('"2f12ef7d-3eb4-46a9-8b45-702a0f054d57","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.114:18]b196f948-5d87-4eb4-9854-a93841c3877f
ms: 1616
>>
Background:
3730
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
3731
* def mystorage = Java.type('storage.DataStorage')
1
3732
* def db = new mystorage
6
3733
* def db = db.setfeature(karate.info.featureFileName)
4
3734
* def separator = java.lang.System.getProperty("file.separator")
2
3735
* def outputpath = db.outputpath()
1
3736
* eval db.ensureDirectory(outputpath)
2
3737
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
3738
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3739
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3740
Given path 'geonetwork/srv/dut/inspire'
1
3741
And param service = 'CSW'
0
3742
And param version = '2.0.2'
0
3743
And param request = 'GetRecordById'
0
3744
And param id = 'b196f948-5d87-4eb4-9854-a93841c3877f'
1
3745
And param elementsetname = 'full'
0
3746
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3747
When method get
1605
3748
Then status 200
0
3749
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b196f948-5d87-4eb4-9854-a93841c3877f'
1
3750
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3751
* def title = get response //citation/CI_Citation/title/CharacterString
0
3752
* def email = get response //electronicMailAddress/CharacterString
0
3753
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3754
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3755
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
3756
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3757
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3758
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3759
* print organisationpath
0
09:37:11.113 [print] Beheer PDOK
3760
* print operateson
0
09:37:11.114 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3703b249-a0eb-484e-ba7a-10e31a55bcec#MD_DataIdentification
3761
* eval db.writeln('"b196f948-5d87-4eb4-9854-a93841c3877f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3762
* eval db.writeln('"b196f948-5d87-4eb4-9854-a93841c3877f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.115:18]9e2e977a-16a6-42a4-a208-c4f70704f383
ms: 1807
>>
Background:
3763
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
3764
* def mystorage = Java.type('storage.DataStorage')
1
3765
* def db = new mystorage
6
3766
* def db = db.setfeature(karate.info.featureFileName)
4
3767
* def separator = java.lang.System.getProperty("file.separator")
2
3768
* def outputpath = db.outputpath()
1
3769
* eval db.ensureDirectory(outputpath)
2
3770
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
3771
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3772
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3773
Given path 'geonetwork/srv/dut/inspire'
1
3774
And param service = 'CSW'
0
3775
And param version = '2.0.2'
0
3776
And param request = 'GetRecordById'
0
3777
And param id = '9e2e977a-16a6-42a4-a208-c4f70704f383'
0
3778
And param elementsetname = 'full'
0
3779
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
7
3780
When method get
1788
3781
Then status 200
0
3782
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9e2e977a-16a6-42a4-a208-c4f70704f383'
2
3783
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3784
* def title = get response //citation/CI_Citation/title/CharacterString
1
3785
* def email = get response //electronicMailAddress/CharacterString
1
3786
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3787
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3788
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3789
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3790
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3791
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3792
* print organisationpath
0
09:37:11.332 [print] Beheer PDOK
3793
* print operateson
0
09:37:11.332 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=aa3b5e6e-7baa-40c0-8972-3353e927ec2f#MD_DataIdentification
3794
* eval db.writeln('"9e2e977a-16a6-42a4-a208-c4f70704f383","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3795
* eval db.writeln('"9e2e977a-16a6-42a4-a208-c4f70704f383","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.116:18]00e8746f-5031-413e-8343-9203c8ea82ee
ms: 2020
>>
Background:
3796
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
3797
* def mystorage = Java.type('storage.DataStorage')
1
3798
* def db = new mystorage
6
3799
* def db = db.setfeature(karate.info.featureFileName)
4
3800
* def separator = java.lang.System.getProperty("file.separator")
2
3801
* def outputpath = db.outputpath()
1
3802
* eval db.ensureDirectory(outputpath)
2
3803
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
3804
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3805
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3806
Given path 'geonetwork/srv/dut/inspire'
5
3807
And param service = 'CSW'
0
3808
And param version = '2.0.2'
0
3809
And param request = 'GetRecordById'
0
3810
And param id = '00e8746f-5031-413e-8343-9203c8ea82ee'
1
3811
And param elementsetname = 'full'
0
3812
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3813
When method get
2003
3814
Then status 200
0
3815
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '00e8746f-5031-413e-8343-9203c8ea82ee'
4
3816
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3817
* def title = get response //citation/CI_Citation/title/CharacterString
0
3818
* def email = get response //electronicMailAddress/CharacterString
0
3819
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3820
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3821
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3822
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3823
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3824
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3825
* print organisationpath
0
09:37:11.549 [print] Interprovinciaal Overleg
3826
* print operateson
0
09:37:11.549 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88f76a94-ee4d-4e0c-9fde-91b692403e39&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=08af1182-91fe-4d21-aa21-ee002953c3cc&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=d91126e0-e37b-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=667ebfb0-e37c-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification" ]
3827
* eval db.writeln('"00e8746f-5031-413e-8343-9203c8ea82ee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3828
* eval db.writeln('"00e8746f-5031-413e-8343-9203c8ea82ee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.117:18]755d488b-7b94-4883-95be-6aa279604f85
ms: 1658
>>
Background:
3829
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
3830
* def mystorage = Java.type('storage.DataStorage')
1
3831
* def db = new mystorage
6
3832
* def db = db.setfeature(karate.info.featureFileName)
4
3833
* def separator = java.lang.System.getProperty("file.separator")
2
3834
* def outputpath = db.outputpath()
1
3835
* eval db.ensureDirectory(outputpath)
2
3836
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
3837
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3838
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3839
Given path 'geonetwork/srv/dut/inspire'
0
3840
And param service = 'CSW'
0
3841
And param version = '2.0.2'
0
3842
And param request = 'GetRecordById'
0
3843
And param id = '755d488b-7b94-4883-95be-6aa279604f85'
0
3844
And param elementsetname = 'full'
0
3845
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3846
When method get
1647
3847
Then status 200
0
3848
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '755d488b-7b94-4883-95be-6aa279604f85'
2
3849
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3850
* def title = get response //citation/CI_Citation/title/CharacterString
0
3851
* def email = get response //electronicMailAddress/CharacterString
1
3852
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3853
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3854
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3855
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3856
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3857
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3858
* print organisationpath
0
09:37:11.189 [print]
3859
* print operateson
0
09:37:11.189 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=36a7e8cb-8300-4602-93d2-135943365a6f#MD_DataIdentification
3860
* eval db.writeln('"755d488b-7b94-4883-95be-6aa279604f85","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3861
* eval db.writeln('"755d488b-7b94-4883-95be-6aa279604f85","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.118:18]86cb5bcc-a199-43e2-9e03-2d0fe8bdfa3f
ms: 2138
>>
Background:
3862
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
3863
* def mystorage = Java.type('storage.DataStorage')
1
3864
* def db = new mystorage
6
3865
* def db = db.setfeature(karate.info.featureFileName)
4
3866
* def separator = java.lang.System.getProperty("file.separator")
2
3867
* def outputpath = db.outputpath()
1
3868
* eval db.ensureDirectory(outputpath)
2
3869
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
3870
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3871
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3872
Given path 'geonetwork/srv/dut/inspire'
6
3873
And param service = 'CSW'
0
3874
And param version = '2.0.2'
0
3875
And param request = 'GetRecordById'
0
3876
And param id = '86cb5bcc-a199-43e2-9e03-2d0fe8bdfa3f'
1
3877
And param elementsetname = 'full'
0
3878
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3879
When method get
2119
3880
Then status 200
0
3881
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '86cb5bcc-a199-43e2-9e03-2d0fe8bdfa3f'
2
3882
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3883
* def title = get response //citation/CI_Citation/title/CharacterString
1
3884
* def email = get response //electronicMailAddress/CharacterString
1
3885
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3886
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
3887
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
3888
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
3889
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
3890
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3891
* print organisationpath
0
09:37:11.693 [print] Beheer PDOK
3892
* print operateson
0
09:37:11.693 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3a7dd0a6-d130-4c4c-b0ba-24365cf036e2#MD_DataIdentification
3893
* eval db.writeln('"86cb5bcc-a199-43e2-9e03-2d0fe8bdfa3f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3894
* eval db.writeln('"86cb5bcc-a199-43e2-9e03-2d0fe8bdfa3f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.119:18]40f04047-3b61-40eb-b026-c1a0caa71881
ms: 1790
>>
Background:
3895
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
3896
* def mystorage = Java.type('storage.DataStorage')
1
3897
* def db = new mystorage
6
3898
* def db = db.setfeature(karate.info.featureFileName)
4
3899
* def separator = java.lang.System.getProperty("file.separator")
2
3900
* def outputpath = db.outputpath()
1
3901
* eval db.ensureDirectory(outputpath)
2
3902
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
3903
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3904
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3905
Given path 'geonetwork/srv/dut/inspire'
1
3906
And param service = 'CSW'
0
3907
And param version = '2.0.2'
0
3908
And param request = 'GetRecordById'
0
3909
And param id = '40f04047-3b61-40eb-b026-c1a0caa71881'
1
3910
And param elementsetname = 'full'
0
3911
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3912
When method get
1778
3913
Then status 200
0
3914
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '40f04047-3b61-40eb-b026-c1a0caa71881'
1
3915
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3916
* def title = get response //citation/CI_Citation/title/CharacterString
1
3917
* def email = get response //electronicMailAddress/CharacterString
1
3918
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3919
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
3920
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
3921
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
3922
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
3923
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3924
* print organisationpath
0
09:37:11.346 [print] Beheer PDOK
3925
* print operateson
0
09:37:11.346 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=11d83e36-fd0d-46bc-838c-0567c5dfdb19#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=34dacd72-d2fb-4e28-844d-73d3b9c3fef2#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=419b85e5-04ee-4cc9-b910-bc58594a943a#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=119f7512-a71e-4d1a-82e7-7a2b63f9338b#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6ea55ec4-f312-40ef-9935-68806e61b496#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=af784610-df36-4d40-bac0-23d8e728999f#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=24eb504e-f5f3-4ecf-b760-cc5630e82a57#MD_DataIdentification" ]
3926
* eval db.writeln('"40f04047-3b61-40eb-b026-c1a0caa71881","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3927
* eval db.writeln('"40f04047-3b61-40eb-b026-c1a0caa71881","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.120:18]4041f923-6b77-4816-bf46-437e85416c31
ms: 1961
>>
Background:
3928
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
3929
* def mystorage = Java.type('storage.DataStorage')
1
3930
* def db = new mystorage
6
3931
* def db = db.setfeature(karate.info.featureFileName)
4
3932
* def separator = java.lang.System.getProperty("file.separator")
2
3933
* def outputpath = db.outputpath()
1
3934
* eval db.ensureDirectory(outputpath)
2
3935
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
3936
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3937
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3938
Given path 'geonetwork/srv/dut/inspire'
1
3939
And param service = 'CSW'
0
3940
And param version = '2.0.2'
0
3941
And param request = 'GetRecordById'
0
3942
And param id = '4041f923-6b77-4816-bf46-437e85416c31'
1
3943
And param elementsetname = 'full'
0
3944
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3945
When method get
1950
3946
Then status 200
0
3947
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4041f923-6b77-4816-bf46-437e85416c31'
2
3948
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3949
* def title = get response //citation/CI_Citation/title/CharacterString
0
3950
* def email = get response //electronicMailAddress/CharacterString
0
3951
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3952
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3953
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3954
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3955
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3956
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3957
* print organisationpath
0
09:37:11.592 [print] Beheer PDOK
3958
* print operateson
0
09:37:11.593 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e4#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification" ]
3959
* eval db.writeln('"4041f923-6b77-4816-bf46-437e85416c31","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3960
* eval db.writeln('"4041f923-6b77-4816-bf46-437e85416c31","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.121:18]1cb58f52-c397-4cec-aba3-45358db3c4c9
ms: 2220
>>
Background:
3961
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
3962
* def mystorage = Java.type('storage.DataStorage')
1
3963
* def db = new mystorage
6
3964
* def db = db.setfeature(karate.info.featureFileName)
4
3965
* def separator = java.lang.System.getProperty("file.separator")
2
3966
* def outputpath = db.outputpath()
1
3967
* eval db.ensureDirectory(outputpath)
2
3968
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
3969
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
3970
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
3971
Given path 'geonetwork/srv/dut/inspire'
1
3972
And param service = 'CSW'
0
3973
And param version = '2.0.2'
0
3974
And param request = 'GetRecordById'
0
3975
And param id = '1cb58f52-c397-4cec-aba3-45358db3c4c9'
1
3976
And param elementsetname = 'full'
0
3977
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3978
When method get
2209
3979
Then status 200
0
3980
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1cb58f52-c397-4cec-aba3-45358db3c4c9'
2
3981
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3982
* def title = get response //citation/CI_Citation/title/CharacterString
0
3983
* def email = get response //electronicMailAddress/CharacterString
0
3984
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3985
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3986
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3987
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3988
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3989
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3990
* print organisationpath
0
09:37:12.067 [print] Beheer PDOK
3991
* print operateson
0
09:37:12.067 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification
3992
* eval db.writeln('"1cb58f52-c397-4cec-aba3-45358db3c4c9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
3993
* eval db.writeln('"1cb58f52-c397-4cec-aba3-45358db3c4c9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.122:18]73286af2-d0f4-4a62-9455-86ffa45ef279
ms: 2029
>>
Background:
3994
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
3995
* def mystorage = Java.type('storage.DataStorage')
1
3996
* def db = new mystorage
6
3997
* def db = db.setfeature(karate.info.featureFileName)
4
3998
* def separator = java.lang.System.getProperty("file.separator")
2
3999
* def outputpath = db.outputpath()
1
4000
* eval db.ensureDirectory(outputpath)
2
4001
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
4002
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4003
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4004
Given path 'geonetwork/srv/dut/inspire'
7
4005
And param service = 'CSW'
0
4006
And param version = '2.0.2'
0
4007
And param request = 'GetRecordById'
0
4008
And param id = '73286af2-d0f4-4a62-9455-86ffa45ef279'
1
4009
And param elementsetname = 'full'
0
4010
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4011
When method get
2013
4012
Then status 200
0
4013
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '73286af2-d0f4-4a62-9455-86ffa45ef279'
1
4014
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4015
* def title = get response //citation/CI_Citation/title/CharacterString
0
4016
* def email = get response //electronicMailAddress/CharacterString
0
4017
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4018
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4019
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4020
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4021
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4022
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4023
* print organisationpath
0
09:37:11.944 [print] TNO Geologische Dienst Nederland
4024
* print operateson
0
09:37:11.944 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=e3b0da1e-0664-4025-b3f5-a54d74a26450&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
4025
* eval db.writeln('"73286af2-d0f4-4a62-9455-86ffa45ef279","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4026
* eval db.writeln('"73286af2-d0f4-4a62-9455-86ffa45ef279","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.123:18]5856173c-e58d-4b4c-8f9b-046ee1f20c1c
ms: 2377
>>
Background:
4027
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
4028
* def mystorage = Java.type('storage.DataStorage')
1
4029
* def db = new mystorage
6
4030
* def db = db.setfeature(karate.info.featureFileName)
4
4031
* def separator = java.lang.System.getProperty("file.separator")
2
4032
* def outputpath = db.outputpath()
1
4033
* eval db.ensureDirectory(outputpath)
2
4034
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
4035
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4036
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4037
Given path 'geonetwork/srv/dut/inspire'
1
4038
And param service = 'CSW'
0
4039
And param version = '2.0.2'
0
4040
And param request = 'GetRecordById'
0
4041
And param id = '5856173c-e58d-4b4c-8f9b-046ee1f20c1c'
1
4042
And param elementsetname = 'full'
0
4043
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4044
When method get
2366
4045
Then status 200
0
4046
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5856173c-e58d-4b4c-8f9b-046ee1f20c1c'
1
4047
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4048
* def title = get response //citation/CI_Citation/title/CharacterString
1
4049
* def email = get response //electronicMailAddress/CharacterString
1
4050
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4051
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4052
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4053
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4054
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4055
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4056
* print organisationpath
0
09:37:12.368 [print] Beheer PDOK
4057
* print operateson
0
09:37:12.368 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=dc5b522e-3e14-4738-9e8e-2401e1b19ef2#MD_DataIdentification
4058
* eval db.writeln('"5856173c-e58d-4b4c-8f9b-046ee1f20c1c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4059
* eval db.writeln('"5856173c-e58d-4b4c-8f9b-046ee1f20c1c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.124:18]627b50bf-2e33-4beb-a314-ff8c0fe8912e
ms: 1770
>>
Background:
4060
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
4061
* def mystorage = Java.type('storage.DataStorage')
1
4062
* def db = new mystorage
6
4063
* def db = db.setfeature(karate.info.featureFileName)
4
4064
* def separator = java.lang.System.getProperty("file.separator")
2
4065
* def outputpath = db.outputpath()
1
4066
* eval db.ensureDirectory(outputpath)
2
4067
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
4068
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4069
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4070
Given path 'geonetwork/srv/dut/inspire'
1
4071
And param service = 'CSW'
0
4072
And param version = '2.0.2'
0
4073
And param request = 'GetRecordById'
0
4074
And param id = '627b50bf-2e33-4beb-a314-ff8c0fe8912e'
1
4075
And param elementsetname = 'full'
0
4076
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4077
When method get
1758
4078
Then status 200
0
4079
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '627b50bf-2e33-4beb-a314-ff8c0fe8912e'
1
4080
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4081
* def title = get response //citation/CI_Citation/title/CharacterString
0
4082
* def email = get response //electronicMailAddress/CharacterString
0
4083
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4084
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4085
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4086
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4087
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4088
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4089
* print organisationpath
0
09:37:11.773 [print] Beheer PDOK
4090
* print operateson
0
09:37:11.773 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification
4091
* eval db.writeln('"627b50bf-2e33-4beb-a314-ff8c0fe8912e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4092
* eval db.writeln('"627b50bf-2e33-4beb-a314-ff8c0fe8912e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.125:18]702060c1-b3fd-44ec-8cc6-d4249d150110
ms: 2615
>>
Background:
4093
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
4094
* def mystorage = Java.type('storage.DataStorage')
1
4095
* def db = new mystorage
6
4096
* def db = db.setfeature(karate.info.featureFileName)
4
4097
* def separator = java.lang.System.getProperty("file.separator")
2
4098
* def outputpath = db.outputpath()
1
4099
* eval db.ensureDirectory(outputpath)
2
4100
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
4101
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4102
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4103
Given path 'geonetwork/srv/dut/inspire'
1
4104
And param service = 'CSW'
0
4105
And param version = '2.0.2'
8
4106
And param request = 'GetRecordById'
0
4107
And param id = '702060c1-b3fd-44ec-8cc6-d4249d150110'
1
4108
And param elementsetname = 'full'
0
4109
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4110
When method get
2596
4111
Then status 200
0
4112
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '702060c1-b3fd-44ec-8cc6-d4249d150110'
1
4113
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4114
* def title = get response //citation/CI_Citation/title/CharacterString
0
4115
* def email = get response //electronicMailAddress/CharacterString
0
4116
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4117
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4118
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4119
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4120
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4121
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4122
* print organisationpath
0
09:37:12.629 [print] Interprovinciaal Overleg
4123
* print operateson
0
09:37:12.629 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88e2a6fa-b296-4ff4-bc30-fb87e2c1627e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
4124
* eval db.writeln('"702060c1-b3fd-44ec-8cc6-d4249d150110","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4125
* eval db.writeln('"702060c1-b3fd-44ec-8cc6-d4249d150110","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.126:18]db1e010a-96f8-453e-b63c-9c27d6273157
ms: 2470
>>
Background:
4126
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
4127
* def mystorage = Java.type('storage.DataStorage')
1
4128
* def db = new mystorage
6
4129
* def db = db.setfeature(karate.info.featureFileName)
4
4130
* def separator = java.lang.System.getProperty("file.separator")
2
4131
* def outputpath = db.outputpath()
1
4132
* eval db.ensureDirectory(outputpath)
2
4133
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
4134
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4135
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4136
Given path 'geonetwork/srv/dut/inspire'
3
4137
And param service = 'CSW'
0
4138
And param version = '2.0.2'
0
4139
And param request = 'GetRecordById'
0
4140
And param id = 'db1e010a-96f8-453e-b63c-9c27d6273157'
1
4141
And param elementsetname = 'full'
0
4142
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4143
When method get
2452
4144
Then status 200
0
4145
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'db1e010a-96f8-453e-b63c-9c27d6273157'
1
4146
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4147
* def title = get response //citation/CI_Citation/title/CharacterString
1
4148
* def email = get response //electronicMailAddress/CharacterString
1
4149
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4150
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
4151
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
4152
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
4153
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4154
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4155
* print organisationpath
0
09:37:12.489 [print] Beheer PDOK
4156
* print operateson
0
09:37:12.489 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2d3dd6d2-2d2b-4b5f-9e30-86e19ed77a56#MD_DataIdentification
4157
* eval db.writeln('"db1e010a-96f8-453e-b63c-9c27d6273157","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
4
4158
* eval db.writeln('"db1e010a-96f8-453e-b63c-9c27d6273157","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.127:18]3ac5737f-55ed-455d-8350-44af11b67fc3
ms: 2069
>>
Background:
4159
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
4160
* def mystorage = Java.type('storage.DataStorage')
1
4161
* def db = new mystorage
6
4162
* def db = db.setfeature(karate.info.featureFileName)
4
4163
* def separator = java.lang.System.getProperty("file.separator")
2
4164
* def outputpath = db.outputpath()
1
4165
* eval db.ensureDirectory(outputpath)
2
4166
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
4167
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4168
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4169
Given path 'geonetwork/srv/dut/inspire'
1
4170
And param service = 'CSW'
0
4171
And param version = '2.0.2'
0
4172
And param request = 'GetRecordById'
0
4173
And param id = '3ac5737f-55ed-455d-8350-44af11b67fc3'
1
4174
And param elementsetname = 'full'
0
4175
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4176
When method get
2051
4177
Then status 200
0
4178
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3ac5737f-55ed-455d-8350-44af11b67fc3'
2
4179
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4180
* def title = get response //citation/CI_Citation/title/CharacterString
0
4181
* def email = get response //electronicMailAddress/CharacterString
1
4182
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4183
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4184
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4185
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4186
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4187
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4188
* print organisationpath
3
09:37:12.140 [print] Beheer PDOK
4189
* print operateson
0
09:37:12.140 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5c37d29a-006d-4136-8989-adfc35a1d4a7#MD_DataIdentification
4190
* eval db.writeln('"3ac5737f-55ed-455d-8350-44af11b67fc3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
4191
* eval db.writeln('"3ac5737f-55ed-455d-8350-44af11b67fc3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.128:18]7e450110-f643-4b73-9262-4f13966cffc6
ms: 2120
>>
Background:
4192
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
4193
* def mystorage = Java.type('storage.DataStorage')
1
4194
* def db = new mystorage
6
4195
* def db = db.setfeature(karate.info.featureFileName)
4
4196
* def separator = java.lang.System.getProperty("file.separator")
2
4197
* def outputpath = db.outputpath()
1
4198
* eval db.ensureDirectory(outputpath)
2
4199
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
4200
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4201
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4202
Given path 'geonetwork/srv/dut/inspire'
1
4203
And param service = 'CSW'
0
4204
And param version = '2.0.2'
0
4205
And param request = 'GetRecordById'
0
4206
And param id = '7e450110-f643-4b73-9262-4f13966cffc6'
0
4207
And param elementsetname = 'full'
0
4208
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4209
When method get
2106
4210
Then status 200
0
4211
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7e450110-f643-4b73-9262-4f13966cffc6'
1
4212
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4213
* def title = get response //citation/CI_Citation/title/CharacterString
0
4214
* def email = get response //electronicMailAddress/CharacterString
1
4215
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4216
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4217
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4218
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4219
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4220
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4221
* print organisationpath
2
09:37:12.349 [print] Beheer PDOK
4222
* print operateson
0
09:37:12.351 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=krw2006-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=krw2006-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification" ]
4223
* eval db.writeln('"7e450110-f643-4b73-9262-4f13966cffc6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4224
* eval db.writeln('"7e450110-f643-4b73-9262-4f13966cffc6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.129:18]923a666c-ee4f-496c-8c85-94d5f81e1f30
ms: 2356
>>
Background:
4225
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
4226
* def mystorage = Java.type('storage.DataStorage')
1
4227
* def db = new mystorage
6
4228
* def db = db.setfeature(karate.info.featureFileName)
4
4229
* def separator = java.lang.System.getProperty("file.separator")
2
4230
* def outputpath = db.outputpath()
1
4231
* eval db.ensureDirectory(outputpath)
2
4232
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
4233
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4234
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4235
Given path 'geonetwork/srv/dut/inspire'
0
4236
And param service = 'CSW'
0
4237
And param version = '2.0.2'
0
4238
And param request = 'GetRecordById'
0
4239
And param id = '923a666c-ee4f-496c-8c85-94d5f81e1f30'
0
4240
And param elementsetname = 'full'
0
4241
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4242
When method get
2344
4243
Then status 200
0
4244
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '923a666c-ee4f-496c-8c85-94d5f81e1f30'
2
4245
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4246
* def title = get response //citation/CI_Citation/title/CharacterString
0
4247
* def email = get response //electronicMailAddress/CharacterString
0
4248
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4249
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4250
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4251
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
4252
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4253
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4254
* print organisationpath
0
09:37:12.760 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
4255
* print operateson
0
09:37:12.760 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4617f0e0-6af4-4ac0-9044-31df9d03071c#MD_DataIdentification
4256
* eval db.writeln('"923a666c-ee4f-496c-8c85-94d5f81e1f30","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4257
* eval db.writeln('"923a666c-ee4f-496c-8c85-94d5f81e1f30","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.130:18]ca71572f-a498-4ca6-aa60-d4c4c4d59e2e
ms: 2069
>>
Background:
4258
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
4259
* def mystorage = Java.type('storage.DataStorage')
1
4260
* def db = new mystorage
6
4261
* def db = db.setfeature(karate.info.featureFileName)
4
4262
* def separator = java.lang.System.getProperty("file.separator")
2
4263
* def outputpath = db.outputpath()
1
4264
* eval db.ensureDirectory(outputpath)
2
4265
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
4266
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4267
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4268
Given path 'geonetwork/srv/dut/inspire'
1
4269
And param service = 'CSW'
0
4270
And param version = '2.0.2'
0
4271
And param request = 'GetRecordById'
0
4272
And param id = 'ca71572f-a498-4ca6-aa60-d4c4c4d59e2e'
1
4273
And param elementsetname = 'full'
0
4274
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4275
When method get
2053
4276
Then status 200
0
4277
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ca71572f-a498-4ca6-aa60-d4c4c4d59e2e'
1
4278
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4279
* def title = get response //citation/CI_Citation/title/CharacterString
0
4280
* def email = get response //electronicMailAddress/CharacterString
0
4281
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4282
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4283
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4284
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4285
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4286
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4287
* print organisationpath
0
09:37:12.475 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
4288
* print operateson
0
09:37:12.475 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=34e95842-4e4e-46de-9198-79e8cd4d30dc#MD_DataIdentification
4289
* eval db.writeln('"ca71572f-a498-4ca6-aa60-d4c4c4d59e2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4290
* eval db.writeln('"ca71572f-a498-4ca6-aa60-d4c4c4d59e2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.131:18]4074b3c3-ca85-45ad-bc0d-b5fca8540c0a
ms: 2380
>>
Background:
4291
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
4292
* def mystorage = Java.type('storage.DataStorage')
1
4293
* def db = new mystorage
6
4294
* def db = db.setfeature(karate.info.featureFileName)
4
4295
* def separator = java.lang.System.getProperty("file.separator")
2
4296
* def outputpath = db.outputpath()
1
4297
* eval db.ensureDirectory(outputpath)
2
4298
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
4299
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4300
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4301
Given path 'geonetwork/srv/dut/inspire'
1
4302
And param service = 'CSW'
0
4303
And param version = '2.0.2'
0
4304
And param request = 'GetRecordById'
0
4305
And param id = '4074b3c3-ca85-45ad-bc0d-b5fca8540c0a'
1
4306
And param elementsetname = 'full'
0
4307
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4308
When method get
2367
4309
Then status 200
0
4310
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4074b3c3-ca85-45ad-bc0d-b5fca8540c0a'
1
4311
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4312
* def title = get response //citation/CI_Citation/title/CharacterString
0
4313
* def email = get response //electronicMailAddress/CharacterString
0
4314
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4315
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4316
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4317
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4318
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4319
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4320
* print organisationpath
0
09:37:12.908 [print] Beheer PDOK
4321
* print operateson
0
09:37:12.908 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7#MD_DataIdentification
4322
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540c0a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4323
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540c0a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.132:18]127125c8-20c2-451a-a1c8-f9aad8ae5c5e
ms: 2555
>>
Background:
4324
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
4325
* def mystorage = Java.type('storage.DataStorage')
1
4326
* def db = new mystorage
6
4327
* def db = db.setfeature(karate.info.featureFileName)
4
4328
* def separator = java.lang.System.getProperty("file.separator")
2
4329
* def outputpath = db.outputpath()
1
4330
* eval db.ensureDirectory(outputpath)
2
4331
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
4332
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4333
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4334
Given path 'geonetwork/srv/dut/inspire'
1
4335
And param service = 'CSW'
0
4336
And param version = '2.0.2'
0
4337
And param request = 'GetRecordById'
0
4338
And param id = '127125c8-20c2-451a-a1c8-f9aad8ae5c5e'
1
4339
And param elementsetname = 'full'
0
4340
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4341
When method get
2542
4342
Then status 200
0
4343
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '127125c8-20c2-451a-a1c8-f9aad8ae5c5e'
2
4344
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4345
* def title = get response //citation/CI_Citation/title/CharacterString
0
4346
* def email = get response //electronicMailAddress/CharacterString
0
4347
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4348
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4349
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4350
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4351
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4352
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4353
* print organisationpath
1
09:37:13.134 [print] Beheer PDOK
4354
* print operateson
0
09:37:13.135 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6cde2ce7-3ecd-4785-b7b8-d62c3381efe9#MD_DataIdentification
4355
* eval db.writeln('"127125c8-20c2-451a-a1c8-f9aad8ae5c5e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4356
* eval db.writeln('"127125c8-20c2-451a-a1c8-f9aad8ae5c5e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.133:18]97a7d966-7261-49d4-bc08-c4900981f092
ms: 2105
>>
Background:
4357
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
4358
* def mystorage = Java.type('storage.DataStorage')
1
4359
* def db = new mystorage
6
4360
* def db = db.setfeature(karate.info.featureFileName)
4
4361
* def separator = java.lang.System.getProperty("file.separator")
2
4362
* def outputpath = db.outputpath()
1
4363
* eval db.ensureDirectory(outputpath)
2
4364
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
4365
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4366
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4367
Given path 'geonetwork/srv/dut/inspire'
1
4368
And param service = 'CSW'
0
4369
And param version = '2.0.2'
0
4370
And param request = 'GetRecordById'
0
4371
And param id = '97a7d966-7261-49d4-bc08-c4900981f092'
1
4372
And param elementsetname = 'full'
0
4373
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4374
When method get
2094
4375
Then status 200
0
4376
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '97a7d966-7261-49d4-bc08-c4900981f092'
1
4377
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4378
* def title = get response //citation/CI_Citation/title/CharacterString
1
4379
* def email = get response //electronicMailAddress/CharacterString
1
4380
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4381
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4382
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
4383
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4384
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4385
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4386
* print organisationpath
0
09:37:12.927 [print] Beheer PDOK
4387
* print operateson
0
09:37:12.927 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=31de946d-85d4-4c93-bb97-e25f4ef1401a#MD_DataIdentification
4388
* eval db.writeln('"97a7d966-7261-49d4-bc08-c4900981f092","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4389
* eval db.writeln('"97a7d966-7261-49d4-bc08-c4900981f092","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.134:18]101a2cc7-bb53-4a16-98f9-bab1f4745b01
ms: 1979
>>
Background:
4390
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
4391
* def mystorage = Java.type('storage.DataStorage')
1
4392
* def db = new mystorage
6
4393
* def db = db.setfeature(karate.info.featureFileName)
4
4394
* def separator = java.lang.System.getProperty("file.separator")
2
4395
* def outputpath = db.outputpath()
1
4396
* eval db.ensureDirectory(outputpath)
2
4397
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
4398
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4399
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4400
Given path 'geonetwork/srv/dut/inspire'
1
4401
And param service = 'CSW'
0
4402
And param version = '2.0.2'
0
4403
And param request = 'GetRecordById'
0
4404
And param id = '101a2cc7-bb53-4a16-98f9-bab1f4745b01'
1
4405
And param elementsetname = 'full'
0
4406
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4407
When method get
1968
4408
Then status 200
0
4409
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '101a2cc7-bb53-4a16-98f9-bab1f4745b01'
1
4410
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4411
* def title = get response //citation/CI_Citation/title/CharacterString
0
4412
* def email = get response //electronicMailAddress/CharacterString
0
4413
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4414
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4415
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4416
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4417
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4418
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4419
* print organisationpath
0
09:37:12.836 [print] Beheer PDOK
4420
* print operateson
0
09:37:12.836 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=493ab81b-75f8-4205-b030-6b2fd9eb4295#MD_DataIdentification
4421
* eval db.writeln('"101a2cc7-bb53-4a16-98f9-bab1f4745b01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4422
* eval db.writeln('"101a2cc7-bb53-4a16-98f9-bab1f4745b01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.135:18]315a465b-e95d-46ea-9d97-8bbee81844cc
ms: 1949
>>
Background:
4423
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
4424
* def mystorage = Java.type('storage.DataStorage')
1
4425
* def db = new mystorage
6
4426
* def db = db.setfeature(karate.info.featureFileName)
4
4427
* def separator = java.lang.System.getProperty("file.separator")
2
4428
* def outputpath = db.outputpath()
1
4429
* eval db.ensureDirectory(outputpath)
2
4430
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
4431
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4432
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4433
Given path 'geonetwork/srv/dut/inspire'
0
4434
And param service = 'CSW'
0
4435
And param version = '2.0.2'
0
4436
And param request = 'GetRecordById'
0
4437
And param id = '315a465b-e95d-46ea-9d97-8bbee81844cc'
0
4438
And param elementsetname = 'full'
0
4439
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4440
When method get
1938
4441
Then status 200
0
4442
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '315a465b-e95d-46ea-9d97-8bbee81844cc'
1
4443
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4444
* def title = get response //citation/CI_Citation/title/CharacterString
0
4445
* def email = get response //electronicMailAddress/CharacterString
0
4446
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4447
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4448
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4449
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4450
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4451
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4452
* print organisationpath
0
09:37:12.818 [print] Beheer PDOK
4453
* print operateson
0
09:37:12.818 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=14657c9b-91e4-4355-8563-2911ad0e78e4#MD_DataIdentification
4454
* eval db.writeln('"315a465b-e95d-46ea-9d97-8bbee81844cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4455
* eval db.writeln('"315a465b-e95d-46ea-9d97-8bbee81844cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.136:18]635bdc85-c596-4afb-ab07-de20c662310c
ms: 2458
>>
Background:
4456
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
4457
* def mystorage = Java.type('storage.DataStorage')
1
4458
* def db = new mystorage
6
4459
* def db = db.setfeature(karate.info.featureFileName)
4
4460
* def separator = java.lang.System.getProperty("file.separator")
2
4461
* def outputpath = db.outputpath()
1
4462
* eval db.ensureDirectory(outputpath)
2
4463
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
4464
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4465
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4466
Given path 'geonetwork/srv/dut/inspire'
1
4467
And param service = 'CSW'
0
4468
And param version = '2.0.2'
0
4469
And param request = 'GetRecordById'
0
4470
And param id = '635bdc85-c596-4afb-ab07-de20c662310c'
1
4471
And param elementsetname = 'full'
0
4472
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4473
When method get
2445
4474
Then status 200
0
4475
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '635bdc85-c596-4afb-ab07-de20c662310c'
1
4476
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4477
* def title = get response //citation/CI_Citation/title/CharacterString
1
4478
* def email = get response //electronicMailAddress/CharacterString
1
4479
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4480
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
4481
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4482
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
4483
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
4484
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4485
* print organisationpath
0
09:37:13.389 [print] Beheer PDOK
4486
* print operateson
0
09:37:13.389 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification
4487
* eval db.writeln('"635bdc85-c596-4afb-ab07-de20c662310c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4488
* eval db.writeln('"635bdc85-c596-4afb-ab07-de20c662310c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.137:18]0426f471-f325-42ed-a775-81c397592e86
ms: 2035
>>
Background:
4489
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
4490
* def mystorage = Java.type('storage.DataStorage')
1
4491
* def db = new mystorage
6
4492
* def db = db.setfeature(karate.info.featureFileName)
4
4493
* def separator = java.lang.System.getProperty("file.separator")
2
4494
* def outputpath = db.outputpath()
1
4495
* eval db.ensureDirectory(outputpath)
2
4496
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
4497
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4498
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4499
Given path 'geonetwork/srv/dut/inspire'
1
4500
And param service = 'CSW'
0
4501
And param version = '2.0.2'
0
4502
And param request = 'GetRecordById'
0
4503
And param id = '0426f471-f325-42ed-a775-81c397592e86'
1
4504
And param elementsetname = 'full'
0
4505
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4506
When method get
2024
4507
Then status 200
0
4508
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0426f471-f325-42ed-a775-81c397592e86'
1
4509
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4510
* def title = get response //citation/CI_Citation/title/CharacterString
0
4511
* def email = get response //electronicMailAddress/CharacterString
0
4512
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4513
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4514
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4515
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4516
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4517
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4518
* print organisationpath
0
09:37:13.053 [print]
4519
* print operateson
0
09:37:13.053 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6#MD_DataIdentification
4520
* eval db.writeln('"0426f471-f325-42ed-a775-81c397592e86","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4521
* eval db.writeln('"0426f471-f325-42ed-a775-81c397592e86","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.138:18]a035801a-3256-4a36-9f81-02421aacee17
ms: 2486
>>
Background:
4522
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
4523
* def mystorage = Java.type('storage.DataStorage')
1
4524
* def db = new mystorage
6
4525
* def db = db.setfeature(karate.info.featureFileName)
4
4526
* def separator = java.lang.System.getProperty("file.separator")
2
4527
* def outputpath = db.outputpath()
1
4528
* eval db.ensureDirectory(outputpath)
2
4529
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
4530
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4531
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4532
Given path 'geonetwork/srv/dut/inspire'
1
4533
And param service = 'CSW'
0
4534
And param version = '2.0.2'
0
4535
And param request = 'GetRecordById'
0
4536
And param id = 'a035801a-3256-4a36-9f81-02421aacee17'
1
4537
And param elementsetname = 'full'
0
4538
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4539
When method get
2474
4540
Then status 200
0
4541
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a035801a-3256-4a36-9f81-02421aacee17'
2
4542
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4543
* def title = get response //citation/CI_Citation/title/CharacterString
1
4544
* def email = get response //electronicMailAddress/CharacterString
1
4545
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4546
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4547
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
4548
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4549
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
4550
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4551
* print organisationpath
0
09:37:13.600 [print] Beheer PDOK
4552
* print operateson
0
09:37:13.600 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ffefc3dc-dc8f-4589-ae22-a60bebcdf5cb#MD_DataIdentification
4553
* eval db.writeln('"a035801a-3256-4a36-9f81-02421aacee17","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4554
* eval db.writeln('"a035801a-3256-4a36-9f81-02421aacee17","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.139:18]d796fd8d-b1e0-465c-a55b-1e9fe885fc3d
ms: 2210
>>
Background:
4555
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
4556
* def mystorage = Java.type('storage.DataStorage')
1
4557
* def db = new mystorage
6
4558
* def db = db.setfeature(karate.info.featureFileName)
4
4559
* def separator = java.lang.System.getProperty("file.separator")
2
4560
* def outputpath = db.outputpath()
1
4561
* eval db.ensureDirectory(outputpath)
2
4562
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
4563
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4564
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4565
Given path 'geonetwork/srv/dut/inspire'
1
4566
And param service = 'CSW'
0
4567
And param version = '2.0.2'
0
4568
And param request = 'GetRecordById'
0
4569
And param id = 'd796fd8d-b1e0-465c-a55b-1e9fe885fc3d'
1
4570
And param elementsetname = 'full'
0
4571
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4572
When method get
2200
4573
Then status 200
0
4574
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd796fd8d-b1e0-465c-a55b-1e9fe885fc3d'
1
4575
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4576
* def title = get response //citation/CI_Citation/title/CharacterString
0
4577
* def email = get response //electronicMailAddress/CharacterString
1
4578
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4579
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4580
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
4581
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4582
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4583
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4584
* print organisationpath
0
09:37:13.400 [print] TNO Geologische Dienst Nederland
4585
* print operateson
0
09:37:13.400 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=f99e915a-75e5-4c36-97f2-61eff692d85b&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
4586
* eval db.writeln('"d796fd8d-b1e0-465c-a55b-1e9fe885fc3d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
4587
* eval db.writeln('"d796fd8d-b1e0-465c-a55b-1e9fe885fc3d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.140:18]c226f573-4b39-4cbd-b84b-01f308e70972
ms: 2408
>>
Background:
4588
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
4589
* def mystorage = Java.type('storage.DataStorage')
1
4590
* def db = new mystorage
6
4591
* def db = db.setfeature(karate.info.featureFileName)
4
4592
* def separator = java.lang.System.getProperty("file.separator")
2
4593
* def outputpath = db.outputpath()
1
4594
* eval db.ensureDirectory(outputpath)
2
4595
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
4596
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4597
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4598
Given path 'geonetwork/srv/dut/inspire'
7
4599
And param service = 'CSW'
0
4600
And param version = '2.0.2'
0
4601
And param request = 'GetRecordById'
0
4602
And param id = 'c226f573-4b39-4cbd-b84b-01f308e70972'
1
4603
And param elementsetname = 'full'
0
4604
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4605
When method get
2390
4606
Then status 200
0
4607
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c226f573-4b39-4cbd-b84b-01f308e70972'
2
4608
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4609
* def title = get response //citation/CI_Citation/title/CharacterString
1
4610
* def email = get response //electronicMailAddress/CharacterString
1
4611
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4612
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4613
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
4614
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4615
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
4616
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4617
* print organisationpath
0
09:37:13.740 [print] Beheer PDOK
4618
* print operateson
0
09:37:13.740 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=71c2b7d2-a1a8-4836-b8d4-7247d331b04d#MD_DataIdentification
4619
* eval db.writeln('"c226f573-4b39-4cbd-b84b-01f308e70972","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4620
* eval db.writeln('"c226f573-4b39-4cbd-b84b-01f308e70972","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.141:18]c99b1291-c51f-49c8-902d-5bd4148cbbde
ms: 2485
>>
Background:
4621
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
4622
* def mystorage = Java.type('storage.DataStorage')
1
4623
* def db = new mystorage
6
4624
* def db = db.setfeature(karate.info.featureFileName)
4
4625
* def separator = java.lang.System.getProperty("file.separator")
2
4626
* def outputpath = db.outputpath()
1
4627
* eval db.ensureDirectory(outputpath)
2
4628
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
4629
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4630
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4631
Given path 'geonetwork/srv/dut/inspire'
1
4632
And param service = 'CSW'
0
4633
And param version = '2.0.2'
0
4634
And param request = 'GetRecordById'
0
4635
And param id = 'c99b1291-c51f-49c8-902d-5bd4148cbbde'
1
4636
And param elementsetname = 'full'
0
4637
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4638
When method get
2469
4639
Then status 200
0
4640
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c99b1291-c51f-49c8-902d-5bd4148cbbde'
1
4641
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4642
* def title = get response //citation/CI_Citation/title/CharacterString
0
4643
* def email = get response //electronicMailAddress/CharacterString
0
4644
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4645
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4646
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4647
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4648
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4649
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4650
* print organisationpath
0
09:37:13.826 [print] Interprovinciaal Overleg
4651
* print operateson
0
09:37:13.826 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88e2a6fa-b296-4ff4-bc30-fb87e2c1627e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
4652
* eval db.writeln('"c99b1291-c51f-49c8-902d-5bd4148cbbde","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4653
* eval db.writeln('"c99b1291-c51f-49c8-902d-5bd4148cbbde","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.142:18]1601e160-91e8-4091-9aca-10294f819d42
ms: 2281
>>
Background:
4654
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
4655
* def mystorage = Java.type('storage.DataStorage')
1
4656
* def db = new mystorage
6
4657
* def db = db.setfeature(karate.info.featureFileName)
4
4658
* def separator = java.lang.System.getProperty("file.separator")
2
4659
* def outputpath = db.outputpath()
1
4660
* eval db.ensureDirectory(outputpath)
2
4661
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
4662
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4663
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4664
Given path 'geonetwork/srv/dut/inspire'
1
4665
And param service = 'CSW'
0
4666
And param version = '2.0.2'
0
4667
And param request = 'GetRecordById'
0
4668
And param id = '1601e160-91e8-4091-9aca-10294f819d42'
0
4669
And param elementsetname = 'full'
0
4670
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4671
When method get
2216
4672
Then status 200
0
4673
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1601e160-91e8-4091-9aca-10294f819d42'
42
4674
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4675
* def title = get response //citation/CI_Citation/title/CharacterString
0
4676
* def email = get response //electronicMailAddress/CharacterString
0
4677
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4678
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4679
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
2
4680
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4681
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4682
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4683
* print organisationpath
4
09:37:13.822 [print] Beheer PDOK
4684
* print operateson
0
09:37:13.822 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=280ed37a-b8d2-4ac5-8567-04d84fad3a41#MD_DataIdentification
4685
* eval db.writeln('"1601e160-91e8-4091-9aca-10294f819d42","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
5
4686
* eval db.writeln('"1601e160-91e8-4091-9aca-10294f819d42","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.143:18]1bd24d1e-aa13-4395-809e-893570f7c651
ms: 1843
>>
Background:
4687
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
4688
* def mystorage = Java.type('storage.DataStorage')
1
4689
* def db = new mystorage
6
4690
* def db = db.setfeature(karate.info.featureFileName)
4
4691
* def separator = java.lang.System.getProperty("file.separator")
2
4692
* def outputpath = db.outputpath()
1
4693
* eval db.ensureDirectory(outputpath)
2
4694
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
4695
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4696
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4697
Given path 'geonetwork/srv/dut/inspire'
1
4698
And param service = 'CSW'
0
4699
And param version = '2.0.2'
0
4700
And param request = 'GetRecordById'
0
4701
And param id = '1bd24d1e-aa13-4395-809e-893570f7c651'
1
4702
And param elementsetname = 'full'
0
4703
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4704
When method get
1827
4705
Then status 200
0
4706
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1bd24d1e-aa13-4395-809e-893570f7c651'
2
4707
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4708
* def title = get response //citation/CI_Citation/title/CharacterString
1
4709
* def email = get response //electronicMailAddress/CharacterString
1
4710
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4711
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4712
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
2
4713
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
4714
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
4715
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4716
* print organisationpath
0
09:37:13.435 [print] Beheer PDOK
4717
* print operateson
0
09:37:13.435 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c935f2ab-9b65-4dc4-94a0-73aeb840a941#MD_DataIdentification
4718
* eval db.writeln('"1bd24d1e-aa13-4395-809e-893570f7c651","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4719
* eval db.writeln('"1bd24d1e-aa13-4395-809e-893570f7c651","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.144:18]5be14ec9-9bb3-4395-a061-e7e78d04a527
ms: 1951
>>
Background:
4720
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
4721
* def mystorage = Java.type('storage.DataStorage')
1
4722
* def db = new mystorage
6
4723
* def db = db.setfeature(karate.info.featureFileName)
4
4724
* def separator = java.lang.System.getProperty("file.separator")
2
4725
* def outputpath = db.outputpath()
1
4726
* eval db.ensureDirectory(outputpath)
2
4727
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
4728
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4729
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4730
Given path 'geonetwork/srv/dut/inspire'
1
4731
And param service = 'CSW'
0
4732
And param version = '2.0.2'
0
4733
And param request = 'GetRecordById'
0
4734
And param id = '5be14ec9-9bb3-4395-a061-e7e78d04a527'
1
4735
And param elementsetname = 'full'
0
4736
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4737
When method get
1937
4738
Then status 200
0
4739
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5be14ec9-9bb3-4395-a061-e7e78d04a527'
2
4740
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4741
* def title = get response //citation/CI_Citation/title/CharacterString
1
4742
* def email = get response //electronicMailAddress/CharacterString
1
4743
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4744
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
4745
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4746
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
4747
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4748
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4749
* print organisationpath
0
09:37:13.643 [print] Beheer PDOK
4750
* print operateson
0
09:37:13.643 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=b4ae622c-6201-49d8-bd2e-f7fce9206a1e#MD_DataIdentification
4751
* eval db.writeln('"5be14ec9-9bb3-4395-a061-e7e78d04a527","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4752
* eval db.writeln('"5be14ec9-9bb3-4395-a061-e7e78d04a527","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.145:18]feabca04-e3fd-4802-96f2-583d328e30ad
ms: 2102
>>
Background:
4753
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
4754
* def mystorage = Java.type('storage.DataStorage')
1
4755
* def db = new mystorage
6
4756
* def db = db.setfeature(karate.info.featureFileName)
4
4757
* def separator = java.lang.System.getProperty("file.separator")
2
4758
* def outputpath = db.outputpath()
1
4759
* eval db.ensureDirectory(outputpath)
2
4760
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
4761
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4762
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4763
Given path 'geonetwork/srv/dut/inspire'
1
4764
And param service = 'CSW'
0
4765
And param version = '2.0.2'
0
4766
And param request = 'GetRecordById'
0
4767
And param id = 'feabca04-e3fd-4802-96f2-583d328e30ad'
1
4768
And param elementsetname = 'full'
0
4769
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4770
When method get
2088
4771
Then status 200
0
4772
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'feabca04-e3fd-4802-96f2-583d328e30ad'
2
4773
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4774
* def title = get response //citation/CI_Citation/title/CharacterString
0
4775
* def email = get response //electronicMailAddress/CharacterString
0
4776
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4777
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4778
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4779
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4780
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4781
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4782
* print organisationpath
0
09:37:13.873 [print] Beheer PDOK
4783
* print operateson
0
09:37:13.874 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ffefc3dc-dc8f-4589-ae22-a60bebcdf5cb#MD_DataIdentification
4784
* eval db.writeln('"feabca04-e3fd-4802-96f2-583d328e30ad","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4785
* eval db.writeln('"feabca04-e3fd-4802-96f2-583d328e30ad","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.146:18]027e3f15-3b58-4570-97bb-779ce3ca947e
ms: 2333
>>
Background:
4786
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
4787
* def mystorage = Java.type('storage.DataStorage')
1
4788
* def db = new mystorage
6
4789
* def db = db.setfeature(karate.info.featureFileName)
4
4790
* def separator = java.lang.System.getProperty("file.separator")
2
4791
* def outputpath = db.outputpath()
1
4792
* eval db.ensureDirectory(outputpath)
2
4793
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
4794
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4795
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4796
Given path 'geonetwork/srv/dut/inspire'
1
4797
And param service = 'CSW'
0
4798
And param version = '2.0.2'
0
4799
And param request = 'GetRecordById'
0
4800
And param id = '027e3f15-3b58-4570-97bb-779ce3ca947e'
1
4801
And param elementsetname = 'full'
0
4802
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4803
When method get
2322
4804
Then status 200
0
4805
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '027e3f15-3b58-4570-97bb-779ce3ca947e'
1
4806
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4807
* def title = get response //citation/CI_Citation/title/CharacterString
0
4808
* def email = get response //electronicMailAddress/CharacterString
0
4809
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4810
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4811
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4812
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4813
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4814
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4815
* print organisationpath
0
09:37:14.277 [print] Beheer PDOK
4816
* print operateson
0
09:37:14.277 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5c37d29a-006d-4136-8989-adfc35a1d4a7#MD_DataIdentification
4817
* eval db.writeln('"027e3f15-3b58-4570-97bb-779ce3ca947e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4818
* eval db.writeln('"027e3f15-3b58-4570-97bb-779ce3ca947e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.147:18]060d1139-c371-4c1e-9890-55999adfa4f9
ms: 1826
>>
Background:
4819
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
4820
* def mystorage = Java.type('storage.DataStorage')
1
4821
* def db = new mystorage
6
4822
* def db = db.setfeature(karate.info.featureFileName)
4
4823
* def separator = java.lang.System.getProperty("file.separator")
2
4824
* def outputpath = db.outputpath()
1
4825
* eval db.ensureDirectory(outputpath)
2
4826
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
4827
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4828
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4829
Given path 'geonetwork/srv/dut/inspire'
1
4830
And param service = 'CSW'
0
4831
And param version = '2.0.2'
0
4832
And param request = 'GetRecordById'
0
4833
And param id = '060d1139-c371-4c1e-9890-55999adfa4f9'
1
4834
And param elementsetname = 'full'
0
4835
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4836
When method get
1816
4837
Then status 200
0
4838
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '060d1139-c371-4c1e-9890-55999adfa4f9'
1
4839
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4840
* def title = get response //citation/CI_Citation/title/CharacterString
0
4841
* def email = get response //electronicMailAddress/CharacterString
0
4842
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4843
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4844
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4845
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4846
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4847
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4848
* print organisationpath
0
09:37:13.894 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
4849
* print operateson
0
09:37:13.894 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=a5241416-8401-4623-be61-57ef50447a41&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
4850
* eval db.writeln('"060d1139-c371-4c1e-9890-55999adfa4f9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4851
* eval db.writeln('"060d1139-c371-4c1e-9890-55999adfa4f9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.148:18]a4c5aa6c-6c7f-45d7-9799-011edd83d9c2
ms: 2108
>>
Background:
4852
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
4853
* def mystorage = Java.type('storage.DataStorage')
1
4854
* def db = new mystorage
6
4855
* def db = db.setfeature(karate.info.featureFileName)
4
4856
* def separator = java.lang.System.getProperty("file.separator")
2
4857
* def outputpath = db.outputpath()
1
4858
* eval db.ensureDirectory(outputpath)
2
4859
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
4860
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4861
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4862
Given path 'geonetwork/srv/dut/inspire'
1
4863
And param service = 'CSW'
0
4864
And param version = '2.0.2'
0
4865
And param request = 'GetRecordById'
0
4866
And param id = 'a4c5aa6c-6c7f-45d7-9799-011edd83d9c2'
1
4867
And param elementsetname = 'full'
0
4868
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4869
When method get
2095
4870
Then status 200
0
4871
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a4c5aa6c-6c7f-45d7-9799-011edd83d9c2'
2
4872
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4873
* def title = get response //citation/CI_Citation/title/CharacterString
0
4874
* def email = get response //electronicMailAddress/CharacterString
0
4875
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4876
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4877
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4878
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4879
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4880
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4881
* print organisationpath
0
09:37:14.250 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
4882
* print operateson
0
09:37:14.250 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c2225e5d-b46f-4e38-8445-ab10fd40c0dc#MD_DataIdentification
4883
* eval db.writeln('"a4c5aa6c-6c7f-45d7-9799-011edd83d9c2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4884
* eval db.writeln('"a4c5aa6c-6c7f-45d7-9799-011edd83d9c2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.149:18]0bc2bcb8-558b-446b-b4e2-381b13d483a8
ms: 2008
>>
Background:
4885
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
4886
* def mystorage = Java.type('storage.DataStorage')
1
4887
* def db = new mystorage
6
4888
* def db = db.setfeature(karate.info.featureFileName)
4
4889
* def separator = java.lang.System.getProperty("file.separator")
2
4890
* def outputpath = db.outputpath()
1
4891
* eval db.ensureDirectory(outputpath)
2
4892
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
4893
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4894
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4895
Given path 'geonetwork/srv/dut/inspire'
1
4896
And param service = 'CSW'
0
4897
And param version = '2.0.2'
0
4898
And param request = 'GetRecordById'
0
4899
And param id = '0bc2bcb8-558b-446b-b4e2-381b13d483a8'
0
4900
And param elementsetname = 'full'
0
4901
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4902
When method get
1997
4903
Then status 200
0
4904
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0bc2bcb8-558b-446b-b4e2-381b13d483a8'
1
4905
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4906
* def title = get response //citation/CI_Citation/title/CharacterString
0
4907
* def email = get response //electronicMailAddress/CharacterString
0
4908
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4909
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4910
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
4911
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4912
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
4913
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4914
* print organisationpath
0
09:37:14.360 [print] Beheer PDOK
4915
* print operateson
0
09:37:14.360 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3d59fd06-9aec-4744-91e7-65e119f74569#MD_DataIdentification
4916
* eval db.writeln('"0bc2bcb8-558b-446b-b4e2-381b13d483a8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
4917
* eval db.writeln('"0bc2bcb8-558b-446b-b4e2-381b13d483a8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.150:18]03c48a93-1e31-4c69-92c6-9a7efecf67a9
ms: 1610
>>
Background:
4918
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
4919
* def mystorage = Java.type('storage.DataStorage')
1
4920
* def db = new mystorage
6
4921
* def db = db.setfeature(karate.info.featureFileName)
4
4922
* def separator = java.lang.System.getProperty("file.separator")
2
4923
* def outputpath = db.outputpath()
1
4924
* eval db.ensureDirectory(outputpath)
2
4925
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
4926
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4927
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4928
Given path 'geonetwork/srv/dut/inspire'
1
4929
And param service = 'CSW'
0
4930
And param version = '2.0.2'
0
4931
And param request = 'GetRecordById'
0
4932
And param id = '03c48a93-1e31-4c69-92c6-9a7efecf67a9'
1
4933
And param elementsetname = 'full'
0
4934
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4935
When method get
1599
4936
Then status 200
0
4937
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '03c48a93-1e31-4c69-92c6-9a7efecf67a9'
1
4938
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4939
* def title = get response //citation/CI_Citation/title/CharacterString
0
4940
* def email = get response //electronicMailAddress/CharacterString
0
4941
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4942
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4943
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4944
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4945
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
4946
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4947
* print organisationpath
0
09:37:13.979 [print] Beheer PDOK
4948
* print operateson
0
09:37:13.979 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3229e4d7-4bcd-4b94-819d-8e62de69ce2e", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c4bed072-0fda-47b8-96fa-457a938b88fc", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c4b137b8-2317-42c2-aced-204c4216d68d" ]
4949
* eval db.writeln('"03c48a93-1e31-4c69-92c6-9a7efecf67a9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4950
* eval db.writeln('"03c48a93-1e31-4c69-92c6-9a7efecf67a9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.151:18]b5ee6914-04bd-4c7e-a180-242371ae40d9
ms: 2054
>>
Background:
4951
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
4952
* def mystorage = Java.type('storage.DataStorage')
1
4953
* def db = new mystorage
6
4954
* def db = db.setfeature(karate.info.featureFileName)
4
4955
* def separator = java.lang.System.getProperty("file.separator")
2
4956
* def outputpath = db.outputpath()
1
4957
* eval db.ensureDirectory(outputpath)
2
4958
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
4959
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4960
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4961
Given path 'geonetwork/srv/dut/inspire'
1
4962
And param service = 'CSW'
0
4963
And param version = '2.0.2'
0
4964
And param request = 'GetRecordById'
0
4965
And param id = 'b5ee6914-04bd-4c7e-a180-242371ae40d9'
1
4966
And param elementsetname = 'full'
0
4967
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4968
When method get
2043
4969
Then status 200
0
4970
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b5ee6914-04bd-4c7e-a180-242371ae40d9'
1
4971
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4972
* def title = get response //citation/CI_Citation/title/CharacterString
0
4973
* def email = get response //electronicMailAddress/CharacterString
0
4974
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4975
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4976
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4977
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4978
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4979
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4980
* print organisationpath
0
09:37:14.534 [print]
4981
* print operateson
0
09:37:14.534 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=50a2c5e6-c8e7-425d-854e-26f578196bc9#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=08b27bf0-e34a-4b30-9eac-5edadfb6a288#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f2f86edf-ac3a-48e8-9292-0544da2d7645#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ad6caa40-89ab-47e3-85ab-3f8e32024a71#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f8d840bc-18df-4449-b797-b9adcb81d3ec#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d3c9efd6-fca7-49d6-92bb-5f507abece90#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=32a21114-8694-40ce-ab76-9dcd885c7861#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d24ccb35-e9d2-41bf-b231-43083fc0c76d#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=36a7e8cb-8300-4602-93d2-135943365a6f#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3f66964-a8c1-456f-9799-9cafca2cb7b1#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e1e99000-ec47-4e9f-84a5-adad24fef0dc#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9baa847-4652-4588-abe1-0b050f40f27f#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2cc2c30c-91b8-412a-a060-e84d25272581#MD_DataIdentification" ]
4982
* eval db.writeln('"b5ee6914-04bd-4c7e-a180-242371ae40d9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
4983
* eval db.writeln('"b5ee6914-04bd-4c7e-a180-242371ae40d9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.152:18]ef2a7962-8bb4-483f-ac78-851b619f357f
ms: 1712
>>
Background:
4984
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
4985
* def mystorage = Java.type('storage.DataStorage')
1
4986
* def db = new mystorage
6
4987
* def db = db.setfeature(karate.info.featureFileName)
4
4988
* def separator = java.lang.System.getProperty("file.separator")
2
4989
* def outputpath = db.outputpath()
1
4990
* eval db.ensureDirectory(outputpath)
2
4991
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
4992
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
4993
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
4994
Given path 'geonetwork/srv/dut/inspire'
1
4995
And param service = 'CSW'
0
4996
And param version = '2.0.2'
0
4997
And param request = 'GetRecordById'
0
4998
And param id = 'ef2a7962-8bb4-483f-ac78-851b619f357f'
1
4999
And param elementsetname = 'full'
0
5000
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5001
When method get
1701
5002
Then status 200
0
5003
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ef2a7962-8bb4-483f-ac78-851b619f357f'
1
5004
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5005
* def title = get response //citation/CI_Citation/title/CharacterString
0
5006
* def email = get response //electronicMailAddress/CharacterString
0
5007
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5008
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5009
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5010
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5011
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5012
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5013
* print organisationpath
0
09:37:14.204 [print] Rijksdienst voor het Cultureel Erfgoed
5014
* print operateson
0
09:37:14.204 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=6f84efeb-fc1d-4565-a721-80735ea57dbd&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=dfe5b146-354f-4bc7-99b1-6713817afac9&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=4e2ef670-cddd-11dd-ad8b-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88a3c1ae-902e-4efa-8663-ddd836101929&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full" ]
5015
* eval db.writeln('"ef2a7962-8bb4-483f-ac78-851b619f357f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5016
* eval db.writeln('"ef2a7962-8bb4-483f-ac78-851b619f357f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.153:18]7c664a91-1aa2-4923-9d17-6a43e4075f47
ms: 1866
>>
Background:
5017
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
5018
* def mystorage = Java.type('storage.DataStorage')
1
5019
* def db = new mystorage
6
5020
* def db = db.setfeature(karate.info.featureFileName)
4
5021
* def separator = java.lang.System.getProperty("file.separator")
2
5022
* def outputpath = db.outputpath()
1
5023
* eval db.ensureDirectory(outputpath)
2
5024
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
5025
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5026
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5027
Given path 'geonetwork/srv/dut/inspire'
1
5028
And param service = 'CSW'
0
5029
And param version = '2.0.2'
0
5030
And param request = 'GetRecordById'
0
5031
And param id = '7c664a91-1aa2-4923-9d17-6a43e4075f47'
1
5032
And param elementsetname = 'full'
0
5033
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5034
When method get
1855
5035
Then status 200
0
5036
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7c664a91-1aa2-4923-9d17-6a43e4075f47'
1
5037
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5038
* def title = get response //citation/CI_Citation/title/CharacterString
0
5039
* def email = get response //electronicMailAddress/CharacterString
0
5040
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5041
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5042
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5043
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5044
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5045
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5046
* print organisationpath
0
09:37:14.495 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
5047
* print operateson
0
09:37:14.495 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bb11be63-bd38-4632-bf54-df44c423a529#MD_DataIdentification
5048
* eval db.writeln('"7c664a91-1aa2-4923-9d17-6a43e4075f47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5049
* eval db.writeln('"7c664a91-1aa2-4923-9d17-6a43e4075f47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.154:18]46873d16-6835-48c4-b47f-134ab0cb31fa
ms: 1690
>>
Background:
5050
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
5051
* def mystorage = Java.type('storage.DataStorage')
1
5052
* def db = new mystorage
6
5053
* def db = db.setfeature(karate.info.featureFileName)
4
5054
* def separator = java.lang.System.getProperty("file.separator")
2
5055
* def outputpath = db.outputpath()
1
5056
* eval db.ensureDirectory(outputpath)
2
5057
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
5058
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5059
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5060
Given path 'geonetwork/srv/dut/inspire'
1
5061
And param service = 'CSW'
0
5062
And param version = '2.0.2'
0
5063
And param request = 'GetRecordById'
0
5064
And param id = '46873d16-6835-48c4-b47f-134ab0cb31fa'
1
5065
And param elementsetname = 'full'
0
5066
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5067
When method get
1679
5068
Then status 200
0
5069
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '46873d16-6835-48c4-b47f-134ab0cb31fa'
2
5070
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5071
* def title = get response //citation/CI_Citation/title/CharacterString
1
5072
* def email = get response //electronicMailAddress/CharacterString
0
5073
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5074
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5075
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5076
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5077
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5078
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5079
* print organisationpath
0
09:37:14.451 [print]
5080
* print operateson
0
09:37:14.451 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=50a2c5e6-c8e7-425d-854e-26f578196bc9#MD_DataIdentification
5081
* eval db.writeln('"46873d16-6835-48c4-b47f-134ab0cb31fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5082
* eval db.writeln('"46873d16-6835-48c4-b47f-134ab0cb31fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.155:18]ef2a7962-8bb4-483f-ca52-85123f579
ms: 1538
>>
Background:
5083
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
5084
* def mystorage = Java.type('storage.DataStorage')
1
5085
* def db = new mystorage
6
5086
* def db = db.setfeature(karate.info.featureFileName)
4
5087
* def separator = java.lang.System.getProperty("file.separator")
2
5088
* def outputpath = db.outputpath()
1
5089
* eval db.ensureDirectory(outputpath)
2
5090
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
5091
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5092
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5093
Given path 'geonetwork/srv/dut/inspire'
1
5094
And param service = 'CSW'
0
5095
And param version = '2.0.2'
0
5096
And param request = 'GetRecordById'
0
5097
And param id = 'ef2a7962-8bb4-483f-ca52-85123f579'
0
5098
And param elementsetname = 'full'
0
5099
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5100
When method get
1527
5101
Then status 200
0
5102
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ef2a7962-8bb4-483f-ca52-85123f579'
1
5103
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5104
* def title = get response //citation/CI_Citation/title/CharacterString
0
5105
* def email = get response //electronicMailAddress/CharacterString
0
5106
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5107
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
5108
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5109
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5110
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5111
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5112
* print organisationpath
0
09:37:14.356 [print] Informatiehuis Water
5113
* print operateson
0
09:37:14.356 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=110f9ec6-4464-462e-9765-83d90cefbeab&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=891ddc2d-8949-4a45-be96-c65b87c41f13&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full" ]
5114
* eval db.writeln('"ef2a7962-8bb4-483f-ca52-85123f579","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5115
* eval db.writeln('"ef2a7962-8bb4-483f-ca52-85123f579","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.156:18]5f0c583a-101e-45ea-b684-a056713cf811
ms: 1869
>>
Background:
5116
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
5117
* def mystorage = Java.type('storage.DataStorage')
1
5118
* def db = new mystorage
6
5119
* def db = db.setfeature(karate.info.featureFileName)
4
5120
* def separator = java.lang.System.getProperty("file.separator")
2
5121
* def outputpath = db.outputpath()
1
5122
* eval db.ensureDirectory(outputpath)
2
5123
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
5124
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5125
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5126
Given path 'geonetwork/srv/dut/inspire'
1
5127
And param service = 'CSW'
0
5128
And param version = '2.0.2'
0
5129
And param request = 'GetRecordById'
0
5130
And param id = '5f0c583a-101e-45ea-b684-a056713cf811'
1
5131
And param elementsetname = 'full'
0
5132
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5133
When method get
1855
5134
Then status 200
0
5135
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5f0c583a-101e-45ea-b684-a056713cf811'
1
5136
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5137
* def title = get response //citation/CI_Citation/title/CharacterString
0
5138
* def email = get response //electronicMailAddress/CharacterString
0
5139
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5140
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5141
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5142
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5143
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5144
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5145
* print organisationpath
0
09:37:14.704 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
5146
* print operateson
0
09:37:14.704 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=1249746f-c2a6-4639-98f2-251676b3528e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
5147
* eval db.writeln('"5f0c583a-101e-45ea-b684-a056713cf811","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
4
5148
* eval db.writeln('"5f0c583a-101e-45ea-b684-a056713cf811","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.157:18]efb5222c-112a-4c57-9bbf-f2af918cb9b5
ms: 1802
>>
Background:
5149
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
5150
* def mystorage = Java.type('storage.DataStorage')
1
5151
* def db = new mystorage
6
5152
* def db = db.setfeature(karate.info.featureFileName)
4
5153
* def separator = java.lang.System.getProperty("file.separator")
2
5154
* def outputpath = db.outputpath()
1
5155
* eval db.ensureDirectory(outputpath)
2
5156
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
5157
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5158
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5159
Given path 'geonetwork/srv/dut/inspire'
1
5160
And param service = 'CSW'
0
5161
And param version = '2.0.2'
0
5162
And param request = 'GetRecordById'
0
5163
And param id = 'efb5222c-112a-4c57-9bbf-f2af918cb9b5'
1
5164
And param elementsetname = 'full'
0
5165
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5166
When method get
1786
5167
Then status 200
0
5168
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'efb5222c-112a-4c57-9bbf-f2af918cb9b5'
1
5169
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5170
* def title = get response //citation/CI_Citation/title/CharacterString
0
5171
* def email = get response //electronicMailAddress/CharacterString
0
5172
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5173
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5174
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5175
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5176
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
5177
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5178
* print organisationpath
0
09:37:14.706 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
5179
* print operateson
0
09:37:14.707 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4cda487b-c467-490c-a843-6563fec016be#MD_DataIdentification
5180
* eval db.writeln('"efb5222c-112a-4c57-9bbf-f2af918cb9b5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
6
5181
* eval db.writeln('"efb5222c-112a-4c57-9bbf-f2af918cb9b5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.158:18]9fd2324b-9e02-4eab-bd4a-8e2be4fcd545
ms: 1982
>>
Background:
5182
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
5183
* def mystorage = Java.type('storage.DataStorage')
1
5184
* def db = new mystorage
6
5185
* def db = db.setfeature(karate.info.featureFileName)
4
5186
* def separator = java.lang.System.getProperty("file.separator")
2
5187
* def outputpath = db.outputpath()
1
5188
* eval db.ensureDirectory(outputpath)
2
5189
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
5190
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5191
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5192
Given path 'geonetwork/srv/dut/inspire'
1
5193
And param service = 'CSW'
0
5194
And param version = '2.0.2'
0
5195
And param request = 'GetRecordById'
0
5196
And param id = '9fd2324b-9e02-4eab-bd4a-8e2be4fcd545'
1
5197
And param elementsetname = 'full'
0
5198
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5199
When method get
1972
5200
Then status 200
0
5201
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9fd2324b-9e02-4eab-bd4a-8e2be4fcd545'
2
5202
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5203
* def title = get response //citation/CI_Citation/title/CharacterString
0
5204
* def email = get response //electronicMailAddress/CharacterString
0
5205
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5206
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5207
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5208
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5209
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5210
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5211
* print organisationpath
0
09:37:14.911 [print]
5212
* print operateson
0
09:37:14.911 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2cc2c30c-91b8-412a-a060-e84d25272581#MD_DataIdentification
5213
* eval db.writeln('"9fd2324b-9e02-4eab-bd4a-8e2be4fcd545","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5214
* eval db.writeln('"9fd2324b-9e02-4eab-bd4a-8e2be4fcd545","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.159:18]ff8f6da2-949e-4838-90f6-fd895a4a240f
ms: 2148
>>
Background:
5215
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
5216
* def mystorage = Java.type('storage.DataStorage')
1
5217
* def db = new mystorage
6
5218
* def db = db.setfeature(karate.info.featureFileName)
4
5219
* def separator = java.lang.System.getProperty("file.separator")
2
5220
* def outputpath = db.outputpath()
1
5221
* eval db.ensureDirectory(outputpath)
2
5222
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
5223
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5224
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5225
Given path 'geonetwork/srv/dut/inspire'
1
5226
And param service = 'CSW'
0
5227
And param version = '2.0.2'
0
5228
And param request = 'GetRecordById'
0
5229
And param id = 'ff8f6da2-949e-4838-90f6-fd895a4a240f'
1
5230
And param elementsetname = 'full'
0
5231
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5232
When method get
2107
5233
Then status 200
0
5234
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ff8f6da2-949e-4838-90f6-fd895a4a240f'
17
5235
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
6
5236
* def title = get response //citation/CI_Citation/title/CharacterString
3
5237
* def email = get response //electronicMailAddress/CharacterString
0
5238
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5239
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5240
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
2
5241
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
5242
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5243
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5244
* print organisationpath
0
09:37:15.198 [print]
5245
* print operateson
0
09:37:15.198 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d24ccb35-e9d2-41bf-b231-43083fc0c76d#MD_DataIdentification
5246
* eval db.writeln('"ff8f6da2-949e-4838-90f6-fd895a4a240f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5247
* eval db.writeln('"ff8f6da2-949e-4838-90f6-fd895a4a240f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.160:18]243c6401-9ed1-4cdd-b9a7-caff08813ce4
ms: 2317
>>
Background:
5248
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
5249
* def mystorage = Java.type('storage.DataStorage')
1
5250
* def db = new mystorage
6
5251
* def db = db.setfeature(karate.info.featureFileName)
4
5252
* def separator = java.lang.System.getProperty("file.separator")
2
5253
* def outputpath = db.outputpath()
1
5254
* eval db.ensureDirectory(outputpath)
2
5255
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
5256
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5257
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5258
Given path 'geonetwork/srv/dut/inspire'
1
5259
And param service = 'CSW'
0
5260
And param version = '2.0.2'
0
5261
And param request = 'GetRecordById'
0
5262
And param id = '243c6401-9ed1-4cdd-b9a7-caff08813ce4'
1
5263
And param elementsetname = 'full'
0
5264
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5265
When method get
2295
5266
Then status 200
0
5267
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '243c6401-9ed1-4cdd-b9a7-caff08813ce4'
2
5268
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5269
* def title = get response //citation/CI_Citation/title/CharacterString
1
5270
* def email = get response //electronicMailAddress/CharacterString
0
5271
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5272
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5273
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5274
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5275
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5276
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5277
* print organisationpath
0
09:37:15.442 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
5278
* print operateson
0
09:37:15.442 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e8b84fae-00b3-49c1-80c1-df8f69f64e8c#MD_DataIdentification
5279
* eval db.writeln('"243c6401-9ed1-4cdd-b9a7-caff08813ce4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
6
5280
* eval db.writeln('"243c6401-9ed1-4cdd-b9a7-caff08813ce4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
8
Scenario Outline: [1.161:18]9ff1a13c-d1e0-4150-8523-91cb489ae1a4
ms: 1758
>>
Background:
5281
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
5282
* def mystorage = Java.type('storage.DataStorage')
1
5283
* def db = new mystorage
6
5284
* def db = db.setfeature(karate.info.featureFileName)
4
5285
* def separator = java.lang.System.getProperty("file.separator")
2
5286
* def outputpath = db.outputpath()
1
5287
* eval db.ensureDirectory(outputpath)
2
5288
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
5289
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5290
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5291
Given path 'geonetwork/srv/dut/inspire'
1
5292
And param service = 'CSW'
0
5293
And param version = '2.0.2'
0
5294
And param request = 'GetRecordById'
0
5295
And param id = '9ff1a13c-d1e0-4150-8523-91cb489ae1a4'
1
5296
And param elementsetname = 'full'
0
5297
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5298
When method get
1734
5299
Then status 200
0
5300
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9ff1a13c-d1e0-4150-8523-91cb489ae1a4'
2
5301
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5302
* def title = get response //citation/CI_Citation/title/CharacterString
1
5303
* def email = get response //electronicMailAddress/CharacterString
1
5304
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5305
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
5306
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
5307
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
5308
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
5309
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5310
* print organisationpath
0
09:37:15.138 [print] Beheer PDOK
5311
* print operateson
9
09:37:15.146 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5a1adb58-0bbe-425d-b0fe-577a6c0a4228#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=71c2b7d2-a1a8-4836-b8d4-7247d331b04d#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1462bbce-ccd3-4362-83d8-4535ca8f44eb#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f605a24f-60cd-4c40-94c8-2186aba3ddd0#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76091be7-358a-4a44-8182-b4139c96c6a4#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8829e5dd-c861-4639-a6c8-fdbb6e3440d2#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=710c381c-ab2d-45d5-a45d-af2eba811e5f#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a9b7026e-0a81-4813-93bd-ba49e6f28502#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2e5f0f60-0f2f-4e17-96af-c913fe305ecb#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=00d8c7c8-98ff-4b06-8f53-b44216e6e75c#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=701d4eb8-8aae-4708-bba5-3edf6987676d#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=17716ed7-ce0d-4bfd-8868-a398e5578a36#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=29d5310f-dd0d-45ba-abad-b4ffc6b8785f#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=0f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=abaf1e22-55aa-4a11-a855-7ac963e4a82b#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=07d73b60-dfd6-4c54-9c82-9fac70c6c48e#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d25fe199-2430-48fd-ad57-5b5f79f73cdf#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e536d943-ecff-4d7a-9500-cc31a263a6af#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bbece924-9aab-4e00-8392-bce36b8f494e#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c935f2ab-9b65-4dc4-94a0-73aeb840a941#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=81ff84ec-42a4-4481-840b-12713bbb5d38#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=af0c582f-9e6b-46e6-865a-fc3a2d5289b9#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3eebf700-5abf-42e4-826c-03cfb497e366#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9d9f1738-aced-47c9-aaa0-c62474a2dcfb#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8eee71f9-9365-490d-9484-00263c6fa35c#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2af8df10-81ba-434a-8125-34fe8f127cf9#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=6cde2ce7-3ecd-4785-b7b8-d62c3381efe9#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3229e4d7-4bcd-4b94-819d-8e62de69ce2e#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5d0dc580-ba7a-4c3b-968b-199efd92d6cf#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bffcd5d9-02b4-4e7d-991f-a386611cad84#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification" ]
5312
* eval db.writeln('"9ff1a13c-d1e0-4150-8523-91cb489ae1a4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5313
* eval db.writeln('"9ff1a13c-d1e0-4150-8523-91cb489ae1a4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.162:18]93c8762c-4cbb-42b0-9b02-89ef902e8880
ms: 1900
>>
Background:
5314
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
5315
* def mystorage = Java.type('storage.DataStorage')
1
5316
* def db = new mystorage
6
5317
* def db = db.setfeature(karate.info.featureFileName)
4
5318
* def separator = java.lang.System.getProperty("file.separator")
2
5319
* def outputpath = db.outputpath()
1
5320
* eval db.ensureDirectory(outputpath)
2
5321
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
5322
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5323
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5324
Given path 'geonetwork/srv/dut/inspire'
6
5325
And param service = 'CSW'
0
5326
And param version = '2.0.2'
0
5327
And param request = 'GetRecordById'
0
5328
And param id = '93c8762c-4cbb-42b0-9b02-89ef902e8880'
1
5329
And param elementsetname = 'full'
0
5330
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5331
When method get
1866
5332
Then status 200
0
5333
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '93c8762c-4cbb-42b0-9b02-89ef902e8880'
1
5334
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5335
* def title = get response //citation/CI_Citation/title/CharacterString
1
5336
* def email = get response //electronicMailAddress/CharacterString
0
5337
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5338
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
5339
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
9
5340
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
5341
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5342
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5343
* print organisationpath
0
09:37:15.292 [print] Beheer PDOK
5344
* print operateson
0
09:37:15.293 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=49ab8bee-b467-486a-96ca-b950443c453a#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f002bfc5-7d87-46b6-819e-8415422b65c9#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f0821bfe-5a0a-11e9-8647-d663bd873d93#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=60a2a7c2-d5b3-4ad5-b562-c448695357fb#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c7d8d77b-8c47-4309-8c58-9b12b086407f#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ca94a0cb-7561-4a10-a7d6-b840e56c33ff#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=998ba1dc-f6a6-49a3-a021-51f30d9b1d0e#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=49ab8bee-b467-486a-96ca-b950443c453a#MD_DataIdentification" ]
5345
* eval db.writeln('"93c8762c-4cbb-42b0-9b02-89ef902e8880","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
7
5346
* eval db.writeln('"93c8762c-4cbb-42b0-9b02-89ef902e8880","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.163:18]03c39474-aef9-4169-95da-9890af440b14
ms: 2164
>>
Background:
5347
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
5348
* def mystorage = Java.type('storage.DataStorage')
1
5349
* def db = new mystorage
6
5350
* def db = db.setfeature(karate.info.featureFileName)
4
5351
* def separator = java.lang.System.getProperty("file.separator")
2
5352
* def outputpath = db.outputpath()
1
5353
* eval db.ensureDirectory(outputpath)
2
5354
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
5355
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5356
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5357
Given path 'geonetwork/srv/dut/inspire'
1
5358
And param service = 'CSW'
0
5359
And param version = '2.0.2'
0
5360
And param request = 'GetRecordById'
0
5361
And param id = '03c39474-aef9-4169-95da-9890af440b14'
1
5362
And param elementsetname = 'full'
0
5363
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5364
When method get
2153
5365
Then status 200
0
5366
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '03c39474-aef9-4169-95da-9890af440b14'
1
5367
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5368
* def title = get response //citation/CI_Citation/title/CharacterString
1
5369
* def email = get response //electronicMailAddress/CharacterString
0
5370
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5371
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5372
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5373
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5374
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5375
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5376
* print organisationpath
0
09:37:15.601 [print]
5377
* print operateson
0
09:37:15.601 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=08b27bf0-e34a-4b30-9eac-5edadfb6a288#MD_DataIdentification
5378
* eval db.writeln('"03c39474-aef9-4169-95da-9890af440b14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5379
* eval db.writeln('"03c39474-aef9-4169-95da-9890af440b14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.164:18]fbe544b6-6e6f-43a0-80b9-ced1df78c434
ms: 1928
>>
Background:
5380
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
5381
* def mystorage = Java.type('storage.DataStorage')
1
5382
* def db = new mystorage
6
5383
* def db = db.setfeature(karate.info.featureFileName)
4
5384
* def separator = java.lang.System.getProperty("file.separator")
2
5385
* def outputpath = db.outputpath()
1
5386
* eval db.ensureDirectory(outputpath)
2
5387
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
5388
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5389
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5390
Given path 'geonetwork/srv/dut/inspire'
1
5391
And param service = 'CSW'
0
5392
And param version = '2.0.2'
0
5393
And param request = 'GetRecordById'
0
5394
And param id = 'fbe544b6-6e6f-43a0-80b9-ced1df78c434'
1
5395
And param elementsetname = 'full'
0
5396
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5397
When method get
1918
5398
Then status 200
0
5399
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fbe544b6-6e6f-43a0-80b9-ced1df78c434'
2
5400
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5401
* def title = get response //citation/CI_Citation/title/CharacterString
0
5402
* def email = get response //electronicMailAddress/CharacterString
1
5403
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5404
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5405
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5406
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5407
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5408
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5409
* print organisationpath
0
09:37:15.529 [print]
5410
* print operateson
0
09:37:15.529 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ad6caa40-89ab-47e3-85ab-3f8e32024a71#MD_DataIdentification
5411
* eval db.writeln('"fbe544b6-6e6f-43a0-80b9-ced1df78c434","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5412
* eval db.writeln('"fbe544b6-6e6f-43a0-80b9-ced1df78c434","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.165:18]37308f90-e619-4b62-ae9e-e656bb3f1649
ms: 1925
>>
Background:
5413
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
5414
* def mystorage = Java.type('storage.DataStorage')
1
5415
* def db = new mystorage
6
5416
* def db = db.setfeature(karate.info.featureFileName)
4
5417
* def separator = java.lang.System.getProperty("file.separator")
2
5418
* def outputpath = db.outputpath()
1
5419
* eval db.ensureDirectory(outputpath)
2
5420
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
5421
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5422
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5423
Given path 'geonetwork/srv/dut/inspire'
1
5424
And param service = 'CSW'
0
5425
And param version = '2.0.2'
0
5426
And param request = 'GetRecordById'
0
5427
And param id = '37308f90-e619-4b62-ae9e-e656bb3f1649'
1
5428
And param elementsetname = 'full'
0
5429
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5430
When method get
1914
5431
Then status 200
0
5432
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '37308f90-e619-4b62-ae9e-e656bb3f1649'
1
5433
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5434
* def title = get response //citation/CI_Citation/title/CharacterString
0
5435
* def email = get response //electronicMailAddress/CharacterString
0
5436
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5437
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5438
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5439
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5440
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5441
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5442
* print organisationpath
0
09:37:15.569 [print]
5443
* print operateson
0
09:37:15.569 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f#MD_DataIdentification
5444
* eval db.writeln('"37308f90-e619-4b62-ae9e-e656bb3f1649","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5445
* eval db.writeln('"37308f90-e619-4b62-ae9e-e656bb3f1649","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.166:18]72f30ca1-3b80-4020-b9ed-301b1a88df39
ms: 1874
>>
Background:
5446
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
5447
* def mystorage = Java.type('storage.DataStorage')
1
5448
* def db = new mystorage
6
5449
* def db = db.setfeature(karate.info.featureFileName)
4
5450
* def separator = java.lang.System.getProperty("file.separator")
2
5451
* def outputpath = db.outputpath()
1
5452
* eval db.ensureDirectory(outputpath)
2
5453
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
5454
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5455
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5456
Given path 'geonetwork/srv/dut/inspire'
1
5457
And param service = 'CSW'
0
5458
And param version = '2.0.2'
0
5459
And param request = 'GetRecordById'
0
5460
And param id = '72f30ca1-3b80-4020-b9ed-301b1a88df39'
1
5461
And param elementsetname = 'full'
0
5462
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5463
When method get
1862
5464
Then status 200
0
5465
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '72f30ca1-3b80-4020-b9ed-301b1a88df39'
1
5466
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5467
* def title = get response //citation/CI_Citation/title/CharacterString
2
5468
* def email = get response //electronicMailAddress/CharacterString
0
5469
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5470
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5471
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5472
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5473
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5474
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5475
* print organisationpath
0
09:37:15.615 [print]
5476
* print operateson
0
09:37:15.615 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=588a4cb1-b442-4ac1-87e4-40401e353166#MD_DataIdentification
5477
* eval db.writeln('"72f30ca1-3b80-4020-b9ed-301b1a88df39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5478
* eval db.writeln('"72f30ca1-3b80-4020-b9ed-301b1a88df39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.167:18]f59357eb-185f-42a5-b465-90bfa6e3e416
ms: 2161
>>
Background:
5479
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
5480
* def mystorage = Java.type('storage.DataStorage')
1
5481
* def db = new mystorage
6
5482
* def db = db.setfeature(karate.info.featureFileName)
4
5483
* def separator = java.lang.System.getProperty("file.separator")
2
5484
* def outputpath = db.outputpath()
1
5485
* eval db.ensureDirectory(outputpath)
2
5486
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
5487
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5488
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5489
Given path 'geonetwork/srv/dut/inspire'
3
5490
And param service = 'CSW'
0
5491
And param version = '2.0.2'
0
5492
And param request = 'GetRecordById'
0
5493
And param id = 'f59357eb-185f-42a5-b465-90bfa6e3e416'
1
5494
And param elementsetname = 'full'
0
5495
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5496
When method get
2140
5497
Then status 200
0
5498
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f59357eb-185f-42a5-b465-90bfa6e3e416'
1
5499
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5500
* def title = get response //citation/CI_Citation/title/CharacterString
0
5501
* def email = get response //electronicMailAddress/CharacterString
0
5502
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5503
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5504
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5505
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5506
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5507
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5508
* print organisationpath
0
09:37:15.985 [print]
5509
* print operateson
0
09:37:15.985 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=32a21114-8694-40ce-ab76-9dcd885c7861#MD_DataIdentification
5510
* eval db.writeln('"f59357eb-185f-42a5-b465-90bfa6e3e416","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
5
5511
* eval db.writeln('"f59357eb-185f-42a5-b465-90bfa6e3e416","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.168:18]5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5
ms: 2084
>>
Background:
5512
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
5513
* def mystorage = Java.type('storage.DataStorage')
1
5514
* def db = new mystorage
6
5515
* def db = db.setfeature(karate.info.featureFileName)
4
5516
* def separator = java.lang.System.getProperty("file.separator")
2
5517
* def outputpath = db.outputpath()
1
5518
* eval db.ensureDirectory(outputpath)
2
5519
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
5520
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5521
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5522
Given path 'geonetwork/srv/dut/inspire'
4
5523
And param service = 'CSW'
0
5524
And param version = '2.0.2'
0
5525
And param request = 'GetRecordById'
0
5526
And param id = '5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5'
1
5527
And param elementsetname = 'full'
0
5528
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5529
When method get
2070
5530
Then status 200
0
5531
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5'
1
5532
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5533
* def title = get response //citation/CI_Citation/title/CharacterString
0
5534
* def email = get response //electronicMailAddress/CharacterString
0
5535
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5536
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5537
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5538
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5539
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5540
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5541
* print organisationpath
0
09:37:15.916 [print]
5542
* print operateson
0
09:37:15.916 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e1e99000-ec47-4e9f-84a5-adad24fef0dc#MD_DataIdentification
5543
* eval db.writeln('"5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5544
* eval db.writeln('"5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.169:18]a931e334-b752-4935-8a98-00eddc443789
ms: 2310
>>
Background:
5545
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
5546
* def mystorage = Java.type('storage.DataStorage')
1
5547
* def db = new mystorage
6
5548
* def db = db.setfeature(karate.info.featureFileName)
4
5549
* def separator = java.lang.System.getProperty("file.separator")
2
5550
* def outputpath = db.outputpath()
1
5551
* eval db.ensureDirectory(outputpath)
2
5552
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
5553
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5554
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5555
Given path 'geonetwork/srv/dut/inspire'
1
5556
And param service = 'CSW'
0
5557
And param version = '2.0.2'
0
5558
And param request = 'GetRecordById'
0
5559
And param id = 'a931e334-b752-4935-8a98-00eddc443789'
1
5560
And param elementsetname = 'full'
0
5561
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5562
When method get
2285
5563
Then status 200
0
5564
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a931e334-b752-4935-8a98-00eddc443789'
4
5565
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5566
* def title = get response //citation/CI_Citation/title/CharacterString
0
5567
* def email = get response //electronicMailAddress/CharacterString
0
5568
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5569
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5570
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
5571
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5572
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
6
5573
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5574
* print organisationpath
1
09:37:16.181 [print]
5575
* print operateson
0
09:37:16.182 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6#MD_DataIdentification
5576
* eval db.writeln('"a931e334-b752-4935-8a98-00eddc443789","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5577
* eval db.writeln('"a931e334-b752-4935-8a98-00eddc443789","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.170:18]15c3c30f-0db2-4b3b-80f6-b990c8fc8225
ms: 2094
>>
Background:
5578
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
5579
* def mystorage = Java.type('storage.DataStorage')
1
5580
* def db = new mystorage
6
5581
* def db = db.setfeature(karate.info.featureFileName)
4
5582
* def separator = java.lang.System.getProperty("file.separator")
2
5583
* def outputpath = db.outputpath()
1
5584
* eval db.ensureDirectory(outputpath)
2
5585
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
5586
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5587
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5588
Given path 'geonetwork/srv/dut/inspire'
0
5589
And param service = 'CSW'
0
5590
And param version = '2.0.2'
0
5591
And param request = 'GetRecordById'
0
5592
And param id = '15c3c30f-0db2-4b3b-80f6-b990c8fc8225'
0
5593
And param elementsetname = 'full'
0
5594
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5595
When method get
2075
5596
Then status 200
0
5597
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '15c3c30f-0db2-4b3b-80f6-b990c8fc8225'
2
5598
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5599
* def title = get response //citation/CI_Citation/title/CharacterString
0
5600
* def email = get response //electronicMailAddress/CharacterString
0
5601
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5602
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
8
5603
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5604
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5605
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5606
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5607
* print organisationpath
0
09:37:15.988 [print]
5608
* print operateson
0
09:37:15.988 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=07575774-57a1-4419-bab4-6c88fdeb02b2#MD_DataIdentification
5609
* eval db.writeln('"15c3c30f-0db2-4b3b-80f6-b990c8fc8225","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
5610
* eval db.writeln('"15c3c30f-0db2-4b3b-80f6-b990c8fc8225","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.171:18]d69fee4a-e3ff-47d4-919d-e55276a3fad9
ms: 2209
>>
Background:
5611
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
5612
* def mystorage = Java.type('storage.DataStorage')
1
5613
* def db = new mystorage
6
5614
* def db = db.setfeature(karate.info.featureFileName)
4
5615
* def separator = java.lang.System.getProperty("file.separator")
2
5616
* def outputpath = db.outputpath()
1
5617
* eval db.ensureDirectory(outputpath)
2
5618
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
5619
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5620
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5621
Given path 'geonetwork/srv/dut/inspire'
1
5622
And param service = 'CSW'
0
5623
And param version = '2.0.2'
0
5624
And param request = 'GetRecordById'
0
5625
And param id = 'd69fee4a-e3ff-47d4-919d-e55276a3fad9'
0
5626
And param elementsetname = 'full'
0
5627
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5628
When method get
2179
5629
Then status 200
0
5630
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd69fee4a-e3ff-47d4-919d-e55276a3fad9'
4
5631
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5632
* def title = get response //citation/CI_Citation/title/CharacterString
0
5633
* def email = get response //electronicMailAddress/CharacterString
0
5634
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
5
5635
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5636
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5637
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
5638
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
5639
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5640
* print organisationpath
0
09:37:16.178 [print] Beheer PDOK
5641
* print operateson
0
09:37:16.178 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=31de946d-85d4-4c93-bb97-e25f4ef1401a#MD_DataIdentification
5642
* eval db.writeln('"d69fee4a-e3ff-47d4-919d-e55276a3fad9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5643
* eval db.writeln('"d69fee4a-e3ff-47d4-919d-e55276a3fad9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
13
Scenario Outline: [1.172:18]c7dad4b9-42a8-452f-a33b-d4938ed22142
ms: 1814
>>
Background:
5644
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
5645
* def mystorage = Java.type('storage.DataStorage')
1
5646
* def db = new mystorage
6
5647
* def db = db.setfeature(karate.info.featureFileName)
4
5648
* def separator = java.lang.System.getProperty("file.separator")
2
5649
* def outputpath = db.outputpath()
1
5650
* eval db.ensureDirectory(outputpath)
2
5651
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
5652
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5653
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5654
Given path 'geonetwork/srv/dut/inspire'
1
5655
And param service = 'CSW'
0
5656
And param version = '2.0.2'
0
5657
And param request = 'GetRecordById'
0
5658
And param id = 'c7dad4b9-42a8-452f-a33b-d4938ed22142'
1
5659
And param elementsetname = 'full'
0
5660
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5661
When method get
1799
5662
Then status 200
0
5663
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c7dad4b9-42a8-452f-a33b-d4938ed22142'
4
5664
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5665
* def title = get response //citation/CI_Citation/title/CharacterString
1
5666
* def email = get response //electronicMailAddress/CharacterString
1
5667
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5668
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5669
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
5670
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5671
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5672
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5673
* print organisationpath
0
09:37:16.017 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
5674
* print operateson
0
09:37:16.017 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f44dac86-2228-412f-8355-e56446ca9933#MD_DataIdentification
5675
* eval db.writeln('"c7dad4b9-42a8-452f-a33b-d4938ed22142","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5676
* eval db.writeln('"c7dad4b9-42a8-452f-a33b-d4938ed22142","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.173:18]32655f4b-551b-42c8-b071-95738d0f5daa
ms: 1812
>>
Background:
5677
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
5678
* def mystorage = Java.type('storage.DataStorage')
1
5679
* def db = new mystorage
6
5680
* def db = db.setfeature(karate.info.featureFileName)
4
5681
* def separator = java.lang.System.getProperty("file.separator")
2
5682
* def outputpath = db.outputpath()
1
5683
* eval db.ensureDirectory(outputpath)
2
5684
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
5685
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5686
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5687
Given path 'geonetwork/srv/dut/inspire'
1
5688
And param service = 'CSW'
0
5689
And param version = '2.0.2'
0
5690
And param request = 'GetRecordById'
0
5691
And param id = '32655f4b-551b-42c8-b071-95738d0f5daa'
1
5692
And param elementsetname = 'full'
0
5693
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5694
When method get
1801
5695
Then status 200
0
5696
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '32655f4b-551b-42c8-b071-95738d0f5daa'
1
5697
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5698
* def title = get response //citation/CI_Citation/title/CharacterString
0
5699
* def email = get response //electronicMailAddress/CharacterString
0
5700
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5701
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5702
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5703
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5704
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5705
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5706
* print organisationpath
0
09:37:16.065 [print] Beheer PDOK
5707
* print operateson
0
09:37:16.065 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-cb527d-f6db-4835-b0cd-deb245241254
5708
* eval db.writeln('"32655f4b-551b-42c8-b071-95738d0f5daa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5709
* eval db.writeln('"32655f4b-551b-42c8-b071-95738d0f5daa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.174:18]76342a6d-452e-4e21-b5c0-81ff7b1be90e
ms: 2082
>>
Background:
5710
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
5711
* def mystorage = Java.type('storage.DataStorage')
1
5712
* def db = new mystorage
6
5713
* def db = db.setfeature(karate.info.featureFileName)
4
5714
* def separator = java.lang.System.getProperty("file.separator")
2
5715
* def outputpath = db.outputpath()
1
5716
* eval db.ensureDirectory(outputpath)
2
5717
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
5718
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5719
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5720
Given path 'geonetwork/srv/dut/inspire'
0
5721
And param service = 'CSW'
0
5722
And param version = '2.0.2'
0
5723
And param request = 'GetRecordById'
0
5724
And param id = '76342a6d-452e-4e21-b5c0-81ff7b1be90e'
1
5725
And param elementsetname = 'full'
0
5726
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5727
When method get
2071
5728
Then status 200
0
5729
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '76342a6d-452e-4e21-b5c0-81ff7b1be90e'
1
5730
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5731
* def title = get response //citation/CI_Citation/title/CharacterString
0
5732
* def email = get response //electronicMailAddress/CharacterString
0
5733
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5734
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5735
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5736
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5737
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5738
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5739
* print organisationpath
0
09:37:16.359 [print] TNO Geologische Dienst Nederland
5740
* print operateson
0
09:37:16.359 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=9dd9bf30-36e6-45ae-b368-bdef2720bdde&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
5741
* eval db.writeln('"76342a6d-452e-4e21-b5c0-81ff7b1be90e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5742
* eval db.writeln('"76342a6d-452e-4e21-b5c0-81ff7b1be90e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.175:18]ddf33bff-8de3-4cca-b6f5-24d18daa502f
ms: 2208
>>
Background:
5743
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
5744
* def mystorage = Java.type('storage.DataStorage')
1
5745
* def db = new mystorage
6
5746
* def db = db.setfeature(karate.info.featureFileName)
4
5747
* def separator = java.lang.System.getProperty("file.separator")
2
5748
* def outputpath = db.outputpath()
1
5749
* eval db.ensureDirectory(outputpath)
2
5750
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
5751
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5752
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5753
Given path 'geonetwork/srv/dut/inspire'
1
5754
And param service = 'CSW'
0
5755
And param version = '2.0.2'
0
5756
And param request = 'GetRecordById'
0
5757
And param id = 'ddf33bff-8de3-4cca-b6f5-24d18daa502f'
0
5758
And param elementsetname = 'full'
0
5759
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5760
When method get
2194
5761
Then status 200
0
5762
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ddf33bff-8de3-4cca-b6f5-24d18daa502f'
3
5763
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5764
* def title = get response //citation/CI_Citation/title/CharacterString
1
5765
* def email = get response //electronicMailAddress/CharacterString
2
5766
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5767
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5768
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5769
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5770
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5771
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5772
* print organisationpath
0
09:37:16.566 [print] Beheer PDOK
5773
* print operateson
0
09:37:16.566 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=110f9ec6-4464-462e-9765-83d90cefbeag#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=110f9ec6-4464-462e-9765-83d90cefbead#MD_DataIdentification" ]
5774
* eval db.writeln('"ddf33bff-8de3-4cca-b6f5-24d18daa502f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5775
* eval db.writeln('"ddf33bff-8de3-4cca-b6f5-24d18daa502f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.176:18]c21c6bf5-8899-4b46-8986-0f65eca05ed0
ms: 2174
>>
Background:
5776
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
5777
* def mystorage = Java.type('storage.DataStorage')
1
5778
* def db = new mystorage
6
5779
* def db = db.setfeature(karate.info.featureFileName)
4
5780
* def separator = java.lang.System.getProperty("file.separator")
2
5781
* def outputpath = db.outputpath()
1
5782
* eval db.ensureDirectory(outputpath)
2
5783
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
5784
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5785
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5786
Given path 'geonetwork/srv/dut/inspire'
0
5787
And param service = 'CSW'
0
5788
And param version = '2.0.2'
0
5789
And param request = 'GetRecordById'
0
5790
And param id = 'c21c6bf5-8899-4b46-8986-0f65eca05ed0'
0
5791
And param elementsetname = 'full'
0
5792
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5793
When method get
2159
5794
Then status 200
0
5795
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c21c6bf5-8899-4b46-8986-0f65eca05ed0'
3
5796
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5797
* def title = get response //citation/CI_Citation/title/CharacterString
2
5798
* def email = get response //electronicMailAddress/CharacterString
1
5799
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5800
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5801
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5802
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5803
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5804
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5805
* print organisationpath
0
09:37:16.533 [print] Beheer PDOK
5806
* print operateson
0
09:37:16.533 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e1#MD_DataIdentification" ]
5807
* eval db.writeln('"c21c6bf5-8899-4b46-8986-0f65eca05ed0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5808
* eval db.writeln('"c21c6bf5-8899-4b46-8986-0f65eca05ed0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.177:18]a12ae6ca-b755-4707-884f-95c0d66f431a
ms: 2325
>>
Background:
5809
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
5810
* def mystorage = Java.type('storage.DataStorage')
1
5811
* def db = new mystorage
6
5812
* def db = db.setfeature(karate.info.featureFileName)
4
5813
* def separator = java.lang.System.getProperty("file.separator")
2
5814
* def outputpath = db.outputpath()
1
5815
* eval db.ensureDirectory(outputpath)
2
5816
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
5817
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5818
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5819
Given path 'geonetwork/srv/dut/inspire'
1
5820
And param service = 'CSW'
0
5821
And param version = '2.0.2'
0
5822
And param request = 'GetRecordById'
0
5823
And param id = 'a12ae6ca-b755-4707-884f-95c0d66f431a'
1
5824
And param elementsetname = 'full'
0
5825
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5826
When method get
2313
5827
Then status 200
0
5828
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a12ae6ca-b755-4707-884f-95c0d66f431a'
1
5829
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5830
* def title = get response //citation/CI_Citation/title/CharacterString
0
5831
* def email = get response //electronicMailAddress/CharacterString
0
5832
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5833
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5834
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
5835
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5836
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
5837
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5838
* print organisationpath
0
09:37:16.776 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
5839
* print operateson
0
09:37:16.776 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f44dac86-2228-412f-8355-e56446ca9933#MD_DataIdentification
5840
* eval db.writeln('"a12ae6ca-b755-4707-884f-95c0d66f431a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
5841
* eval db.writeln('"a12ae6ca-b755-4707-884f-95c0d66f431a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.178:18]f5660ac6-8031-4acc-832c-1d1b82b062ba
ms: 2305
>>
Background:
5842
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
5843
* def mystorage = Java.type('storage.DataStorage')
1
5844
* def db = new mystorage
6
5845
* def db = db.setfeature(karate.info.featureFileName)
4
5846
* def separator = java.lang.System.getProperty("file.separator")
2
5847
* def outputpath = db.outputpath()
1
5848
* eval db.ensureDirectory(outputpath)
2
5849
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
5850
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5851
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5852
Given path 'geonetwork/srv/dut/inspire'
1
5853
And param service = 'CSW'
0
5854
And param version = '2.0.2'
0
5855
And param request = 'GetRecordById'
0
5856
And param id = 'f5660ac6-8031-4acc-832c-1d1b82b062ba'
1
5857
And param elementsetname = 'full'
0
5858
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5859
When method get
2291
5860
Then status 200
0
5861
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f5660ac6-8031-4acc-832c-1d1b82b062ba'
1
5862
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5863
* def title = get response //citation/CI_Citation/title/CharacterString
0
5864
* def email = get response //electronicMailAddress/CharacterString
0
5865
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5866
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5867
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
4
5868
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5869
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5870
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5871
* print organisationpath
0
09:37:16.800 [print] TNO Geologische Dienst Nederland
5872
* print operateson
0
09:37:16.800 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=11a292bd-9022-4a9f-b1bf-02f5c89ad74a&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
5873
* eval db.writeln('"f5660ac6-8031-4acc-832c-1d1b82b062ba","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5874
* eval db.writeln('"f5660ac6-8031-4acc-832c-1d1b82b062ba","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.179:18]0898d4a9-8fe6-46e9-8855-1242d8028970
ms: 2230
>>
Background:
5875
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
5876
* def mystorage = Java.type('storage.DataStorage')
1
5877
* def db = new mystorage
6
5878
* def db = db.setfeature(karate.info.featureFileName)
4
5879
* def separator = java.lang.System.getProperty("file.separator")
2
5880
* def outputpath = db.outputpath()
1
5881
* eval db.ensureDirectory(outputpath)
2
5882
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
5883
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5884
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5885
Given path 'geonetwork/srv/dut/inspire'
1
5886
And param service = 'CSW'
0
5887
And param version = '2.0.2'
0
5888
And param request = 'GetRecordById'
0
5889
And param id = '0898d4a9-8fe6-46e9-8855-1242d8028970'
1
5890
And param elementsetname = 'full'
0
5891
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5892
When method get
2220
5893
Then status 200
0
5894
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0898d4a9-8fe6-46e9-8855-1242d8028970'
1
5895
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5896
* def title = get response //citation/CI_Citation/title/CharacterString
0
5897
* def email = get response //electronicMailAddress/CharacterString
0
5898
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5899
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5900
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5901
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5902
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5903
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5904
* print organisationpath
0
09:37:16.764 [print]
5905
* print operateson
0
09:37:16.765 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ror-9d8e-4758-83fx-28b057f185f1#MD_DataIdentification
5906
* eval db.writeln('"0898d4a9-8fe6-46e9-8855-1242d8028970","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5907
* eval db.writeln('"0898d4a9-8fe6-46e9-8855-1242d8028970","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.180:18]e27e61d8-25b1-45ee-a2df-071312ba8a69
ms: 2130
>>
Background:
5908
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
5909
* def mystorage = Java.type('storage.DataStorage')
1
5910
* def db = new mystorage
6
5911
* def db = db.setfeature(karate.info.featureFileName)
4
5912
* def separator = java.lang.System.getProperty("file.separator")
2
5913
* def outputpath = db.outputpath()
1
5914
* eval db.ensureDirectory(outputpath)
2
5915
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
5916
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5917
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5918
Given path 'geonetwork/srv/dut/inspire'
1
5919
And param service = 'CSW'
0
5920
And param version = '2.0.2'
0
5921
And param request = 'GetRecordById'
0
5922
And param id = 'e27e61d8-25b1-45ee-a2df-071312ba8a69'
1
5923
And param elementsetname = 'full'
0
5924
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5925
When method get
2113
5926
Then status 200
0
5927
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e27e61d8-25b1-45ee-a2df-071312ba8a69'
4
5928
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5929
* def title = get response //citation/CI_Citation/title/CharacterString
1
5930
* def email = get response //electronicMailAddress/CharacterString
0
5931
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5932
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5933
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5934
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5935
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5936
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5937
* print organisationpath
0
09:37:16.834 [print] Beheer PDOK
5938
* print operateson
0
09:37:16.834 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=622a632a-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2e31680f-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krw-f7bb2351-9788-42ea-a58b-a5ee1842304e#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krw-782cab20-8328-45f1-a9b2-c27d07c14066#MD_DataIdentification" ]
5939
* eval db.writeln('"e27e61d8-25b1-45ee-a2df-071312ba8a69","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5940
* eval db.writeln('"e27e61d8-25b1-45ee-a2df-071312ba8a69","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.181:18]1ec5b9c9-4b4d-4b6a-930e-6e5198d9b2bb
ms: 2488
>>
Background:
5941
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
5942
* def mystorage = Java.type('storage.DataStorage')
1
5943
* def db = new mystorage
6
5944
* def db = db.setfeature(karate.info.featureFileName)
4
5945
* def separator = java.lang.System.getProperty("file.separator")
2
5946
* def outputpath = db.outputpath()
1
5947
* eval db.ensureDirectory(outputpath)
2
5948
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
5949
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5950
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5951
Given path 'geonetwork/srv/dut/inspire'
1
5952
And param service = 'CSW'
0
5953
And param version = '2.0.2'
0
5954
And param request = 'GetRecordById'
0
5955
And param id = '1ec5b9c9-4b4d-4b6a-930e-6e5198d9b2bb'
1
5956
And param elementsetname = 'full'
0
5957
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5958
When method get
2477
5959
Then status 200
0
5960
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1ec5b9c9-4b4d-4b6a-930e-6e5198d9b2bb'
1
5961
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5962
* def title = get response //citation/CI_Citation/title/CharacterString
0
5963
* def email = get response //electronicMailAddress/CharacterString
0
5964
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5965
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5966
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5967
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5968
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5969
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5970
* print organisationpath
0
09:37:17.200 [print] Beheer PDOK
5971
* print operateson
0
09:37:17.200 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2d3dd6d2-2d2b-4b5f-9e30-86e19ed77a56#MD_DataIdentification
5972
* eval db.writeln('"1ec5b9c9-4b4d-4b6a-930e-6e5198d9b2bb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
5973
* eval db.writeln('"1ec5b9c9-4b4d-4b6a-930e-6e5198d9b2bb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.182:18]037e55bd-a1dc-4fde-adfe-4610d3a3d5cb
ms: 2307
>>
Background:
5974
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
5975
* def mystorage = Java.type('storage.DataStorage')
1
5976
* def db = new mystorage
6
5977
* def db = db.setfeature(karate.info.featureFileName)
4
5978
* def separator = java.lang.System.getProperty("file.separator")
2
5979
* def outputpath = db.outputpath()
1
5980
* eval db.ensureDirectory(outputpath)
2
5981
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
5982
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
5983
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
5984
Given path 'geonetwork/srv/dut/inspire'
1
5985
And param service = 'CSW'
0
5986
And param version = '2.0.2'
0
5987
And param request = 'GetRecordById'
0
5988
And param id = '037e55bd-a1dc-4fde-adfe-4610d3a3d5cb'
0
5989
And param elementsetname = 'full'
0
5990
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5991
When method get
2297
5992
Then status 200
0
5993
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '037e55bd-a1dc-4fde-adfe-4610d3a3d5cb'
1
5994
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5995
* def title = get response //citation/CI_Citation/title/CharacterString
0
5996
* def email = get response //electronicMailAddress/CharacterString
0
5997
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5998
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5999
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6000
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6001
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6002
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6003
* print organisationpath
0
09:37:17.218 [print]
6004
* print operateson
0
09:37:17.218 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76541ebb-a554-4540-a017-399d4bb4a860#MD_DataIdentification
6005
* eval db.writeln('"037e55bd-a1dc-4fde-adfe-4610d3a3d5cb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6006
* eval db.writeln('"037e55bd-a1dc-4fde-adfe-4610d3a3d5cb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.183:18]54122631-d343-40be-9c28-e44626b37a0e
ms: 2025
>>
Background:
6007
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
6008
* def mystorage = Java.type('storage.DataStorage')
1
6009
* def db = new mystorage
6
6010
* def db = db.setfeature(karate.info.featureFileName)
4
6011
* def separator = java.lang.System.getProperty("file.separator")
2
6012
* def outputpath = db.outputpath()
1
6013
* eval db.ensureDirectory(outputpath)
2
6014
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
6015
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6016
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6017
Given path 'geonetwork/srv/dut/inspire'
1
6018
And param service = 'CSW'
0
6019
And param version = '2.0.2'
0
6020
And param request = 'GetRecordById'
0
6021
And param id = '54122631-d343-40be-9c28-e44626b37a0e'
1
6022
And param elementsetname = 'full'
0
6023
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6024
When method get
2015
6025
Then status 200
0
6026
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '54122631-d343-40be-9c28-e44626b37a0e'
1
6027
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6028
* def title = get response //citation/CI_Citation/title/CharacterString
0
6029
* def email = get response //electronicMailAddress/CharacterString
0
6030
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6031
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6032
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6033
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6034
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6035
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6036
* print organisationpath
0
09:37:17.174 [print]
6037
* print operateson
0
09:37:17.174 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=12bb57cd-73e0-41ba-a1e9-6d986b9109d3&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
6038
* eval db.writeln('"54122631-d343-40be-9c28-e44626b37a0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
6039
* eval db.writeln('"54122631-d343-40be-9c28-e44626b37a0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.184:18]9ad3f0c0-9e2c-4d44-a467-b57920aa512f
ms: 2054
>>
Background:
6040
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
6041
* def mystorage = Java.type('storage.DataStorage')
1
6042
* def db = new mystorage
6
6043
* def db = db.setfeature(karate.info.featureFileName)
4
6044
* def separator = java.lang.System.getProperty("file.separator")
2
6045
* def outputpath = db.outputpath()
1
6046
* eval db.ensureDirectory(outputpath)
2
6047
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
6048
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6049
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6050
Given path 'geonetwork/srv/dut/inspire'
1
6051
And param service = 'CSW'
0
6052
And param version = '2.0.2'
0
6053
And param request = 'GetRecordById'
0
6054
And param id = '9ad3f0c0-9e2c-4d44-a467-b57920aa512f'
1
6055
And param elementsetname = 'full'
0
6056
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6057
When method get
2042
6058
Then status 200
0
6059
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9ad3f0c0-9e2c-4d44-a467-b57920aa512f'
1
6060
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6061
* def title = get response //citation/CI_Citation/title/CharacterString
0
6062
* def email = get response //electronicMailAddress/CharacterString
0
6063
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6064
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6065
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6066
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6067
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6068
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6069
* print organisationpath
0
09:37:17.257 [print]
6070
* print operateson
0
09:37:17.257 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ea938ed4-c9c0-4324-824f-5926669ba0e0#MD_DataIdentification
6071
* eval db.writeln('"9ad3f0c0-9e2c-4d44-a467-b57920aa512f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6072
* eval db.writeln('"9ad3f0c0-9e2c-4d44-a467-b57920aa512f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.185:18]b4485d59-a945-4940-a2f5-3ce7de6a947b
ms: 2262
>>
Background:
6073
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
6074
* def mystorage = Java.type('storage.DataStorage')
1
6075
* def db = new mystorage
6
6076
* def db = db.setfeature(karate.info.featureFileName)
4
6077
* def separator = java.lang.System.getProperty("file.separator")
2
6078
* def outputpath = db.outputpath()
1
6079
* eval db.ensureDirectory(outputpath)
2
6080
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
6081
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6082
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6083
Given path 'geonetwork/srv/dut/inspire'
1
6084
And param service = 'CSW'
0
6085
And param version = '2.0.2'
0
6086
And param request = 'GetRecordById'
0
6087
And param id = 'b4485d59-a945-4940-a2f5-3ce7de6a947b'
15
6088
And param elementsetname = 'full'
0
6089
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6090
When method get
2230
6091
Then status 200
0
6092
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b4485d59-a945-4940-a2f5-3ce7de6a947b'
1
6093
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6094
* def title = get response //citation/CI_Citation/title/CharacterString
1
6095
* def email = get response //electronicMailAddress/CharacterString
0
6096
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6097
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
6098
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6099
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
7
6100
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
6101
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6102
* print organisationpath
0
09:37:17.564 [print]
6103
* print operateson
0
09:37:17.564 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3f66964-a8c1-456f-9799-9cafca2cb7b1#MD_DataIdentification
6104
* eval db.writeln('"b4485d59-a945-4940-a2f5-3ce7de6a947b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
6105
* eval db.writeln('"b4485d59-a945-4940-a2f5-3ce7de6a947b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.186:18]e91719b1-a139-42cf-8a1a-db78cd7477f8
ms: 2077
>>
Background:
6106
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
6107
* def mystorage = Java.type('storage.DataStorage')
1
6108
* def db = new mystorage
6
6109
* def db = db.setfeature(karate.info.featureFileName)
4
6110
* def separator = java.lang.System.getProperty("file.separator")
2
6111
* def outputpath = db.outputpath()
1
6112
* eval db.ensureDirectory(outputpath)
2
6113
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
6114
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6115
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6116
Given path 'geonetwork/srv/dut/inspire'
1
6117
And param service = 'CSW'
0
6118
And param version = '2.0.2'
0
6119
And param request = 'GetRecordById'
0
6120
And param id = 'e91719b1-a139-42cf-8a1a-db78cd7477f8'
1
6121
And param elementsetname = 'full'
0
6122
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6123
When method get
2065
6124
Then status 200
0
6125
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e91719b1-a139-42cf-8a1a-db78cd7477f8'
1
6126
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6127
* def title = get response //citation/CI_Citation/title/CharacterString
0
6128
* def email = get response //electronicMailAddress/CharacterString
0
6129
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6130
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6131
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6132
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6133
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6134
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6135
* print organisationpath
0
09:37:17.529 [print] Beheer PDOK
6136
* print operateson
0
09:37:17.529 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krw2006-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krw2006-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification" ]
6137
* eval db.writeln('"e91719b1-a139-42cf-8a1a-db78cd7477f8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
6138
* eval db.writeln('"e91719b1-a139-42cf-8a1a-db78cd7477f8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.187:18]5255c080-5f4e-4f7a-8a2c-6ac9d0103288
ms: 800
>>
Background:
6139
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
6140
* def mystorage = Java.type('storage.DataStorage')
1
6141
* def db = new mystorage
6
6142
* def db = db.setfeature(karate.info.featureFileName)
4
6143
* def separator = java.lang.System.getProperty("file.separator")
2
6144
* def outputpath = db.outputpath()
1
6145
* eval db.ensureDirectory(outputpath)
2
6146
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
6147
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6148
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6149
Given path 'geonetwork/srv/dut/inspire'
1
6150
And param service = 'CSW'
0
6151
And param version = '2.0.2'
0
6152
And param request = 'GetRecordById'
0
6153
And param id = '5255c080-5f4e-4f7a-8a2c-6ac9d0103288'
1
6154
And param elementsetname = 'full'
0
6155
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6156
When method get
788
6157
Then status 200
0
6158
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5255c080-5f4e-4f7a-8a2c-6ac9d0103288'
2
6159
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6160
* def title = get response //citation/CI_Citation/title/CharacterString
0
6161
* def email = get response //electronicMailAddress/CharacterString
0
6162
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6163
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6164
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6165
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6166
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6167
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6168
* print organisationpath
0
09:37:16.328 [print]
6169
* print operateson
2
09:37:16.330 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f8d840bc-18df-4449-b797-b9adcb81d3ec#MD_DataIdentification
6170
* eval db.writeln('"5255c080-5f4e-4f7a-8a2c-6ac9d0103288","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
6171
* eval db.writeln('"5255c080-5f4e-4f7a-8a2c-6ac9d0103288","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.188:18]0606e8cb-fa51-402c-a3be-19fd724b0a10
ms: 2153
>>
Background:
6172
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
6173
* def mystorage = Java.type('storage.DataStorage')
1
6174
* def db = new mystorage
6
6175
* def db = db.setfeature(karate.info.featureFileName)
4
6176
* def separator = java.lang.System.getProperty("file.separator")
2
6177
* def outputpath = db.outputpath()
1
6178
* eval db.ensureDirectory(outputpath)
2
6179
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
6180
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6181
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6182
Given path 'geonetwork/srv/dut/inspire'
1
6183
And param service = 'CSW'
0
6184
And param version = '2.0.2'
0
6185
And param request = 'GetRecordById'
0
6186
And param id = '0606e8cb-fa51-402c-a3be-19fd724b0a10'
1
6187
And param elementsetname = 'full'
0
6188
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6189
When method get
2142
6190
Then status 200
0
6191
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0606e8cb-fa51-402c-a3be-19fd724b0a10'
2
6192
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6193
* def title = get response //citation/CI_Citation/title/CharacterString
0
6194
* def email = get response //electronicMailAddress/CharacterString
0
6195
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6196
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6197
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6198
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6199
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6200
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6201
* print organisationpath
0
09:37:17.723 [print]
6202
* print operateson
0
09:37:17.723 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f2f86edf-ac3a-48e8-9292-0544da2d7645#MD_DataIdentification
6203
* eval db.writeln('"0606e8cb-fa51-402c-a3be-19fd724b0a10","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6204
* eval db.writeln('"0606e8cb-fa51-402c-a3be-19fd724b0a10","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.189:18]0bb27a13-76f1-4374-8d44-76e937198e8d
ms: 2166
>>
Background:
6205
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
6206
* def mystorage = Java.type('storage.DataStorage')
1
6207
* def db = new mystorage
6
6208
* def db = db.setfeature(karate.info.featureFileName)
4
6209
* def separator = java.lang.System.getProperty("file.separator")
2
6210
* def outputpath = db.outputpath()
1
6211
* eval db.ensureDirectory(outputpath)
2
6212
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
6213
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6214
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6215
Given path 'geonetwork/srv/dut/inspire'
0
6216
And param service = 'CSW'
0
6217
And param version = '2.0.2'
0
6218
And param request = 'GetRecordById'
0
6219
And param id = '0bb27a13-76f1-4374-8d44-76e937198e8d'
1
6220
And param elementsetname = 'full'
0
6221
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6222
When method get
2156
6223
Then status 200
0
6224
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0bb27a13-76f1-4374-8d44-76e937198e8d'
2
6225
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6226
* def title = get response //citation/CI_Citation/title/CharacterString
0
6227
* def email = get response //electronicMailAddress/CharacterString
0
6228
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6229
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6230
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6231
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6232
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6233
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6234
* print organisationpath
0
09:37:17.768 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
6235
* print operateson
0
09:37:17.768 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=a5241416-8401-4623-be61-57ef50447a41&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
6236
* eval db.writeln('"0bb27a13-76f1-4374-8d44-76e937198e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
6237
* eval db.writeln('"0bb27a13-76f1-4374-8d44-76e937198e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.190:18]01572637-b851-4cc3-b06a-56c1ae1115cc
ms: 1938
>>
Background:
6238
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
6239
* def mystorage = Java.type('storage.DataStorage')
1
6240
* def db = new mystorage
6
6241
* def db = db.setfeature(karate.info.featureFileName)
4
6242
* def separator = java.lang.System.getProperty("file.separator")
2
6243
* def outputpath = db.outputpath()
1
6244
* eval db.ensureDirectory(outputpath)
2
6245
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
6246
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6247
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6248
Given path 'geonetwork/srv/dut/inspire'
1
6249
And param service = 'CSW'
0
6250
And param version = '2.0.2'
0
6251
And param request = 'GetRecordById'
0
6252
And param id = '01572637-b851-4cc3-b06a-56c1ae1115cc'
1
6253
And param elementsetname = 'full'
0
6254
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6255
When method get
1923
6256
Then status 200
0
6257
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '01572637-b851-4cc3-b06a-56c1ae1115cc'
1
6258
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6259
* def title = get response //citation/CI_Citation/title/CharacterString
0
6260
* def email = get response //electronicMailAddress/CharacterString
0
6261
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6262
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6263
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6264
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6265
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6266
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
5
6267
* print organisationpath
0
09:37:17.555 [print]
6268
* print operateson
0
09:37:17.555 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9baa847-4652-4588-abe1-0b050f40f27f#MD_DataIdentification
6269
* eval db.writeln('"01572637-b851-4cc3-b06a-56c1ae1115cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
6270
* eval db.writeln('"01572637-b851-4cc3-b06a-56c1ae1115cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.191:18]7827b68f-647e-46cc-a02a-cac48eaa5dda
ms: 2247
>>
Background:
6271
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
6272
* def mystorage = Java.type('storage.DataStorage')
1
6273
* def db = new mystorage
6
6274
* def db = db.setfeature(karate.info.featureFileName)
4
6275
* def separator = java.lang.System.getProperty("file.separator")
2
6276
* def outputpath = db.outputpath()
1
6277
* eval db.ensureDirectory(outputpath)
2
6278
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
6279
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6280
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6281
Given path 'geonetwork/srv/dut/inspire'
0
6282
And param service = 'CSW'
0
6283
And param version = '2.0.2'
0
6284
And param request = 'GetRecordById'
0
6285
And param id = '7827b68f-647e-46cc-a02a-cac48eaa5dda'
1
6286
And param elementsetname = 'full'
0
6287
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6288
When method get
2236
6289
Then status 200
0
6290
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7827b68f-647e-46cc-a02a-cac48eaa5dda'
2
6291
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6292
* def title = get response //citation/CI_Citation/title/CharacterString
0
6293
* def email = get response //electronicMailAddress/CharacterString
0
6294
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6295
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6296
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6297
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6298
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6299
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6300
* print organisationpath
0
09:37:18.163 [print] Beheer PDOK
6301
* print operateson
0
09:37:18.163 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=58d39928-f502-48c9-a8c1-03244dc181bf#MD_DataIdentification
6302
* eval db.writeln('"7827b68f-647e-46cc-a02a-cac48eaa5dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6303
* eval db.writeln('"7827b68f-647e-46cc-a02a-cac48eaa5dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.192:18]76854ff3-a853-4405-b9fd-acef66460376
ms: 2877
>>
Background:
6304
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
6305
* def mystorage = Java.type('storage.DataStorage')
1
6306
* def db = new mystorage
6
6307
* def db = db.setfeature(karate.info.featureFileName)
4
6308
* def separator = java.lang.System.getProperty("file.separator")
2
6309
* def outputpath = db.outputpath()
1
6310
* eval db.ensureDirectory(outputpath)
2
6311
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
6312
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6313
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6314
Given path 'geonetwork/srv/dut/inspire'
0
6315
And param service = 'CSW'
0
6316
And param version = '2.0.2'
0
6317
And param request = 'GetRecordById'
0
6318
And param id = '76854ff3-a853-4405-b9fd-acef66460376'
1
6319
And param elementsetname = 'full'
0
6320
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6321
When method get
2801
6322
Then status 200
0
6323
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '76854ff3-a853-4405-b9fd-acef66460376'
9
6324
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
8
6325
* def title = get response //citation/CI_Citation/title/CharacterString
8
6326
* def email = get response //electronicMailAddress/CharacterString
8
6327
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
8
6328
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
5
6329
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
5
6330
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
6
6331
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
6
6332
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
8
6333
* print organisationpath
0
09:37:18.865 [print] Beheer PDOK
6334
* print operateson
0
09:37:18.865 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=cbeaebc3-815a-48af-a978-0e16892865fc#MD_DataIdentification
6335
* eval db.writeln('"76854ff3-a853-4405-b9fd-acef66460376","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
6336
* eval db.writeln('"76854ff3-a853-4405-b9fd-acef66460376","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.193:18]e08079df-6c19-486e-916e-5c9948cfafea
ms: 2174
>>
Background:
6337
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
6338
* def mystorage = Java.type('storage.DataStorage')
1
6339
* def db = new mystorage
6
6340
* def db = db.setfeature(karate.info.featureFileName)
4
6341
* def separator = java.lang.System.getProperty("file.separator")
2
6342
* def outputpath = db.outputpath()
1
6343
* eval db.ensureDirectory(outputpath)
2
6344
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
6345
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6346
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6347
Given path 'geonetwork/srv/dut/inspire'
1
6348
And param service = 'CSW'
0
6349
And param version = '2.0.2'
0
6350
And param request = 'GetRecordById'
0
6351
And param id = 'e08079df-6c19-486e-916e-5c9948cfafea'
1
6352
And param elementsetname = 'full'
0
6353
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6354
When method get
2159
6355
Then status 200
0
6356
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e08079df-6c19-486e-916e-5c9948cfafea'
2
6357
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6358
* def title = get response //citation/CI_Citation/title/CharacterString
0
6359
* def email = get response //electronicMailAddress/CharacterString
1
6360
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6361
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6362
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6363
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6364
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6365
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
4
6366
* print organisationpath
0
09:37:18.167 [print] Beheer PDOK
6367
* print operateson
0
09:37:18.167 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=10d1153e-778f-4995-9b6c-7c69b196cccb#MD_DataIdentification
6368
* eval db.writeln('"e08079df-6c19-486e-916e-5c9948cfafea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6369
* eval db.writeln('"e08079df-6c19-486e-916e-5c9948cfafea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.194:18]dd414384-0bcb-4188-86e2-2843e12a579e
ms: 1995
>>
Background:
6370
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
6371
* def mystorage = Java.type('storage.DataStorage')
1
6372
* def db = new mystorage
6
6373
* def db = db.setfeature(karate.info.featureFileName)
4
6374
* def separator = java.lang.System.getProperty("file.separator")
2
6375
* def outputpath = db.outputpath()
1
6376
* eval db.ensureDirectory(outputpath)
2
6377
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
6378
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6379
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6380
Given path 'geonetwork/srv/dut/inspire'
1
6381
And param service = 'CSW'
0
6382
And param version = '2.0.2'
0
6383
And param request = 'GetRecordById'
0
6384
And param id = 'dd414384-0bcb-4188-86e2-2843e12a579e'
1
6385
And param elementsetname = 'full'
0
6386
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6387
When method get
1971
6388
Then status 200
0
6389
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dd414384-0bcb-4188-86e2-2843e12a579e'
3
6390
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6391
* def title = get response //citation/CI_Citation/title/CharacterString
1
6392
* def email = get response //electronicMailAddress/CharacterString
1
6393
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6394
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6395
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6396
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6397
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
4
6398
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6399
* print organisationpath
0
09:37:18.007 [print] TNO Geologische Dienst Nederland
6400
* print operateson
0
09:37:18.007 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a7fb2234-f7b4-4a03-b282-f10947f42fb1&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
6401
* eval db.writeln('"dd414384-0bcb-4188-86e2-2843e12a579e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
9
6402
* eval db.writeln('"dd414384-0bcb-4188-86e2-2843e12a579e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.195:18]f76bdce5-344e-415f-8f2c-972755e80b65
ms: 2232
>>
Background:
6403
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
6404
* def mystorage = Java.type('storage.DataStorage')
1
6405
* def db = new mystorage
6
6406
* def db = db.setfeature(karate.info.featureFileName)
4
6407
* def separator = java.lang.System.getProperty("file.separator")
2
6408
* def outputpath = db.outputpath()
1
6409
* eval db.ensureDirectory(outputpath)
2
6410
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
6411
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6412
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6413
Given path 'geonetwork/srv/dut/inspire'
0
6414
And param service = 'CSW'
0
6415
And param version = '2.0.2'
0
6416
And param request = 'GetRecordById'
0
6417
And param id = 'f76bdce5-344e-415f-8f2c-972755e80b65'
1
6418
And param elementsetname = 'full'
0
6419
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6420
When method get
2208
6421
Then status 200
0
6422
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f76bdce5-344e-415f-8f2c-972755e80b65'
2
6423
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6424
* def title = get response //citation/CI_Citation/title/CharacterString
0
6425
* def email = get response //electronicMailAddress/CharacterString
0
6426
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6427
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
5
6428
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6429
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
4
6430
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
6431
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6432
* print organisationpath
0
09:37:18.293 [print] Beheer PDOK
6433
* print operateson
0
09:37:18.293 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=4783ea4f-6b8c-4600-8af0-516f3556cfe9#MD_DataIdentification
6434
* eval db.writeln('"f76bdce5-344e-415f-8f2c-972755e80b65","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
5
6435
* eval db.writeln('"f76bdce5-344e-415f-8f2c-972755e80b65","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.196:18]a02c6566-e0ad-4fc1-b217-67cc1099dea2
ms: 2300
>>
Background:
6436
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
6437
* def mystorage = Java.type('storage.DataStorage')
1
6438
* def db = new mystorage
6
6439
* def db = db.setfeature(karate.info.featureFileName)
4
6440
* def separator = java.lang.System.getProperty("file.separator")
2
6441
* def outputpath = db.outputpath()
1
6442
* eval db.ensureDirectory(outputpath)
2
6443
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
6444
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6445
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6446
Given path 'geonetwork/srv/dut/inspire'
5
6447
And param service = 'CSW'
0
6448
And param version = '2.0.2'
0
6449
And param request = 'GetRecordById'
0
6450
And param id = 'a02c6566-e0ad-4fc1-b217-67cc1099dea2'
1
6451
And param elementsetname = 'full'
0
6452
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6453
When method get
2283
6454
Then status 200
0
6455
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a02c6566-e0ad-4fc1-b217-67cc1099dea2'
2
6456
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6457
* def title = get response //citation/CI_Citation/title/CharacterString
1
6458
* def email = get response //electronicMailAddress/CharacterString
0
6459
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6460
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6461
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6462
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6463
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6464
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6465
* print organisationpath
0
09:37:18.487 [print]
6466
* print operateson
0
09:37:18.487 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f#MD_DataIdentification
6467
* eval db.writeln('"a02c6566-e0ad-4fc1-b217-67cc1099dea2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
6468
* eval db.writeln('"a02c6566-e0ad-4fc1-b217-67cc1099dea2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.197:18]598c4109-21d2-4a6c-b083-9975a6736849
ms: 2101
>>
Background:
6469
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
6470
* def mystorage = Java.type('storage.DataStorage')
1
6471
* def db = new mystorage
6
6472
* def db = db.setfeature(karate.info.featureFileName)
4
6473
* def separator = java.lang.System.getProperty("file.separator")
2
6474
* def outputpath = db.outputpath()
1
6475
* eval db.ensureDirectory(outputpath)
2
6476
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
6477
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6478
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6479
Given path 'geonetwork/srv/dut/inspire'
0
6480
And param service = 'CSW'
0
6481
And param version = '2.0.2'
0
6482
And param request = 'GetRecordById'
0
6483
And param id = '598c4109-21d2-4a6c-b083-9975a6736849'
5
6484
And param elementsetname = 'full'
0
6485
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6486
When method get
2084
6487
Then status 200
0
6488
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '598c4109-21d2-4a6c-b083-9975a6736849'
1
6489
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6490
* def title = get response //citation/CI_Citation/title/CharacterString
0
6491
* def email = get response //electronicMailAddress/CharacterString
0
6492
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6493
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6494
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
6495
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6496
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6497
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6498
* print organisationpath
0
09:37:18.290 [print] Beheer PDOK
6499
* print operateson
0
09:37:18.290 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=00d8c7c8-98ff-4b06-8f53-b44216e6e75c#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=701d4eb8-8aae-4708-bba5-3edf6987676d#MD_DataIdentification" ]
6500
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736849","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
6501
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736849","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.198:18]f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8
ms: 2231
>>
Background:
6502
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
6503
* def mystorage = Java.type('storage.DataStorage')
1
6504
* def db = new mystorage
6
6505
* def db = db.setfeature(karate.info.featureFileName)
4
6506
* def separator = java.lang.System.getProperty("file.separator")
2
6507
* def outputpath = db.outputpath()
1
6508
* eval db.ensureDirectory(outputpath)
2
6509
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
6510
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6511
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6512
Given path 'geonetwork/srv/dut/inspire'
0
6513
And param service = 'CSW'
0
6514
And param version = '2.0.2'
0
6515
And param request = 'GetRecordById'
0
6516
And param id = 'f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8'
1
6517
And param elementsetname = 'full'
0
6518
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6519
When method get
2218
6520
Then status 200
0
6521
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8'
1
6522
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6523
* def title = get response //citation/CI_Citation/title/CharacterString
1
6524
* def email = get response //electronicMailAddress/CharacterString
0
6525
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6526
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6527
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
6528
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6529
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6530
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6531
* print organisationpath
0
09:37:18.560 [print] Beheer PDOK
6532
* print operateson
0
09:37:18.560 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2e5f0f60-0f2f-4e17-96af-c913fe305ecb#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8f0497f0-dbd7-4bee-b85a-5fdec484a7ff#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a9b7026e-0a81-4813-93bd-ba49e6f28502#MD_DataIdentification" ]
6533
* eval db.writeln('"f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
6534
* eval db.writeln('"f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.199:18]6de8b875-c4c2-4469-ac80-0782bb67f285
ms: 2261
>>
Background:
6535
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
6536
* def mystorage = Java.type('storage.DataStorage')
1
6537
* def db = new mystorage
6
6538
* def db = db.setfeature(karate.info.featureFileName)
4
6539
* def separator = java.lang.System.getProperty("file.separator")
2
6540
* def outputpath = db.outputpath()
1
6541
* eval db.ensureDirectory(outputpath)
2
6542
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
6543
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6544
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6545
Given path 'geonetwork/srv/dut/inspire'
0
6546
And param service = 'CSW'
0
6547
And param version = '2.0.2'
0
6548
And param request = 'GetRecordById'
0
6549
And param id = '6de8b875-c4c2-4469-ac80-0782bb67f285'
1
6550
And param elementsetname = 'full'
0
6551
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6552
When method get
2248
6553
Then status 200
0
6554
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6de8b875-c4c2-4469-ac80-0782bb67f285'
1
6555
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6556
* def title = get response //citation/CI_Citation/title/CharacterString
0
6557
* def email = get response //electronicMailAddress/CharacterString
0
6558
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6559
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6560
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6561
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6562
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
6563
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6564
* print organisationpath
0
09:37:18.619 [print] Beheer PDOK
6565
* print operateson
0
09:37:18.619 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=7dd1fd45-ace5-41e0-93a6-64e3be231717#MD_DataIdentification
6566
* eval db.writeln('"6de8b875-c4c2-4469-ac80-0782bb67f285","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
6567
* eval db.writeln('"6de8b875-c4c2-4469-ac80-0782bb67f285","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.200:18]1ce74355-763a-481d-b9d7-aaafbf0d7d53
ms: 2370
>>
Background:
6568
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
6569
* def mystorage = Java.type('storage.DataStorage')
1
6570
* def db = new mystorage
6
6571
* def db = db.setfeature(karate.info.featureFileName)
4
6572
* def separator = java.lang.System.getProperty("file.separator")
2
6573
* def outputpath = db.outputpath()
1
6574
* eval db.ensureDirectory(outputpath)
2
6575
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
6576
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6577
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6578
Given path 'geonetwork/srv/dut/inspire'
1
6579
And param service = 'CSW'
0
6580
And param version = '2.0.2'
0
6581
And param request = 'GetRecordById'
0
6582
And param id = '1ce74355-763a-481d-b9d7-aaafbf0d7d53'
0
6583
And param elementsetname = 'full'
0
6584
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6585
When method get
2340
6586
Then status 200
0
6587
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1ce74355-763a-481d-b9d7-aaafbf0d7d53'
2
6588
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6589
* def title = get response //citation/CI_Citation/title/CharacterString
10
6590
* def email = get response //electronicMailAddress/CharacterString
2
6591
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6592
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
6593
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
6594
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
6595
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
6596
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6597
* print organisationpath
0
09:37:18.903 [print] Beheer PDOK
6598
* print operateson
0
09:37:18.903 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=28c4780a-1a44-4376-b283-14a50a481729#MD_DataIdentification
6599
* eval db.writeln('"1ce74355-763a-481d-b9d7-aaafbf0d7d53","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
6600
* eval db.writeln('"1ce74355-763a-481d-b9d7-aaafbf0d7d53","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.201:18]e29b19de-d191-47f2-b944-5056a7674cce
ms: 2355
>>
Background:
6601
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
6602
* def mystorage = Java.type('storage.DataStorage')
1
6603
* def db = new mystorage
6
6604
* def db = db.setfeature(karate.info.featureFileName)
4
6605
* def separator = java.lang.System.getProperty("file.separator")
2
6606
* def outputpath = db.outputpath()
1
6607
* eval db.ensureDirectory(outputpath)
2
6608
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
6609
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6610
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6611
Given path 'geonetwork/srv/dut/inspire'
1
6612
And param service = 'CSW'
0
6613
And param version = '2.0.2'
0
6614
And param request = 'GetRecordById'
0
6615
And param id = 'e29b19de-d191-47f2-b944-5056a7674cce'
0
6616
And param elementsetname = 'full'
0
6617
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6618
When method get
2343
6619
Then status 200
0
6620
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e29b19de-d191-47f2-b944-5056a7674cce'
2
6621
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6622
* def title = get response //citation/CI_Citation/title/CharacterString
0
6623
* def email = get response //electronicMailAddress/CharacterString
0
6624
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6625
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6626
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
6627
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
6628
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6629
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6630
* print organisationpath
0
09:37:18.921 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
6631
* print operateson
0
09:37:18.921 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4617f0e0-6af4-4ac0-9044-31df9d03071c#MD_DataIdentification
6632
* eval db.writeln('"e29b19de-d191-47f2-b944-5056a7674cce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
6633
* eval db.writeln('"e29b19de-d191-47f2-b944-5056a7674cce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.202:18]40c4ec8c-14b2-4104-982b-c0ebfd5397c4
ms: 2247
>>
Background:
6634
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
6635
* def mystorage = Java.type('storage.DataStorage')
1
6636
* def db = new mystorage
6
6637
* def db = db.setfeature(karate.info.featureFileName)
4
6638
* def separator = java.lang.System.getProperty("file.separator")
2
6639
* def outputpath = db.outputpath()
1
6640
* eval db.ensureDirectory(outputpath)
2
6641
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
6642
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6643
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6644
Given path 'geonetwork/srv/dut/inspire'
3
6645
And param service = 'CSW'
0
6646
And param version = '2.0.2'
0
6647
And param request = 'GetRecordById'
0
6648
And param id = '40c4ec8c-14b2-4104-982b-c0ebfd5397c4'
0
6649
And param elementsetname = 'full'
0
6650
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6651
When method get
2230
6652
Then status 200
2
6653
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '40c4ec8c-14b2-4104-982b-c0ebfd5397c4'
2
6654
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6655
* def title = get response //citation/CI_Citation/title/CharacterString
1
6656
* def email = get response //electronicMailAddress/CharacterString
0
6657
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6658
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6659
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6660
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6661
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6662
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6663
* print organisationpath
0
09:37:19.012 [print] Beheer PDOK
6664
* print operateson
0
09:37:19.012 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=db8d613f-5edc-4467-9cc0-e2dcfb9d64a8#MD_DataIdentification
6665
* eval db.writeln('"40c4ec8c-14b2-4104-982b-c0ebfd5397c4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
6666
* eval db.writeln('"40c4ec8c-14b2-4104-982b-c0ebfd5397c4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.203:18]3dc373ae-fcf6-49c9-b315-9a2178bffe4a
ms: 2945
>>
Background:
6667
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
6668
* def mystorage = Java.type('storage.DataStorage')
1
6669
* def db = new mystorage
6
6670
* def db = db.setfeature(karate.info.featureFileName)
4
6671
* def separator = java.lang.System.getProperty("file.separator")
2
6672
* def outputpath = db.outputpath()
1
6673
* eval db.ensureDirectory(outputpath)
2
6674
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
6675
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6676
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6677
Given path 'geonetwork/srv/dut/inspire'
0
6678
And param service = 'CSW'
0
6679
And param version = '2.0.2'
0
6680
And param request = 'GetRecordById'
0
6681
And param id = '3dc373ae-fcf6-49c9-b315-9a2178bffe4a'
0
6682
And param elementsetname = 'full'
0
6683
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6684
When method get
2935
6685
Then status 200
0
6686
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3dc373ae-fcf6-49c9-b315-9a2178bffe4a'
1
6687
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6688
* def title = get response //citation/CI_Citation/title/CharacterString
0
6689
* def email = get response //electronicMailAddress/CharacterString
0
6690
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6691
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6692
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6693
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6694
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6695
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6696
* print organisationpath
0
09:37:19.721 [print] Beheer PDOK
6697
* print operateson
0
09:37:19.721 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=d6b85d84-cdb9-4a6e-b799-cf8826e22a94#MD_DataIdentification
6698
* eval db.writeln('"3dc373ae-fcf6-49c9-b315-9a2178bffe4a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
6699
* eval db.writeln('"3dc373ae-fcf6-49c9-b315-9a2178bffe4a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.204:18]e258f171-6f56-4d4d-8311-027b30213c2d
ms: 2879
>>
Background:
6700
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
6701
* def mystorage = Java.type('storage.DataStorage')
1
6702
* def db = new mystorage
6
6703
* def db = db.setfeature(karate.info.featureFileName)
4
6704
* def separator = java.lang.System.getProperty("file.separator")
2
6705
* def outputpath = db.outputpath()
1
6706
* eval db.ensureDirectory(outputpath)
2
6707
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
6708
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6709
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6710
Given path 'geonetwork/srv/dut/inspire'
1
6711
And param service = 'CSW'
0
6712
And param version = '2.0.2'
0
6713
And param request = 'GetRecordById'
0
6714
And param id = 'e258f171-6f56-4d4d-8311-027b30213c2d'
1
6715
And param elementsetname = 'full'
0
6716
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6717
When method get
2865
6718
Then status 200
0
6719
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e258f171-6f56-4d4d-8311-027b30213c2d'
1
6720
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6721
* def title = get response //citation/CI_Citation/title/CharacterString
0
6722
* def email = get response //electronicMailAddress/CharacterString
0
6723
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6724
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6725
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6726
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6727
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6728
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6729
* print organisationpath
0
09:37:19.676 [print]
6730
* print operateson
0
09:37:19.676 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification
6731
* eval db.writeln('"e258f171-6f56-4d4d-8311-027b30213c2d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6732
* eval db.writeln('"e258f171-6f56-4d4d-8311-027b30213c2d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.205:18]0080a9ce-b836-45bc-8fdf-07dcbe97101d
ms: 2850
>>
Background:
6733
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
6734
* def mystorage = Java.type('storage.DataStorage')
1
6735
* def db = new mystorage
6
6736
* def db = db.setfeature(karate.info.featureFileName)
4
6737
* def separator = java.lang.System.getProperty("file.separator")
2
6738
* def outputpath = db.outputpath()
1
6739
* eval db.ensureDirectory(outputpath)
2
6740
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
6741
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6742
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6743
Given path 'geonetwork/srv/dut/inspire'
1
6744
And param service = 'CSW'
0
6745
And param version = '2.0.2'
0
6746
And param request = 'GetRecordById'
0
6747
And param id = '0080a9ce-b836-45bc-8fdf-07dcbe97101d'
1
6748
And param elementsetname = 'full'
0
6749
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6750
When method get
2841
6751
Then status 200
0
6752
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0080a9ce-b836-45bc-8fdf-07dcbe97101d'
1
6753
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6754
* def title = get response //citation/CI_Citation/title/CharacterString
0
6755
* def email = get response //electronicMailAddress/CharacterString
0
6756
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6757
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6758
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6759
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6760
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6761
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6762
* print organisationpath
0
09:37:19.689 [print]
6763
* print operateson
0
09:37:19.689 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=493ab81b-75f8-4205-b030-6b2fd9eb4295&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
6764
* eval db.writeln('"0080a9ce-b836-45bc-8fdf-07dcbe97101d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6765
* eval db.writeln('"0080a9ce-b836-45bc-8fdf-07dcbe97101d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.206:18]f61eec5c-cb91-40b6-ad35-9bca967006cc
ms: 2385
>>
Background:
6766
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
6767
* def mystorage = Java.type('storage.DataStorage')
1
6768
* def db = new mystorage
6
6769
* def db = db.setfeature(karate.info.featureFileName)
4
6770
* def separator = java.lang.System.getProperty("file.separator")
2
6771
* def outputpath = db.outputpath()
1
6772
* eval db.ensureDirectory(outputpath)
2
6773
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
6774
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6775
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6776
Given path 'geonetwork/srv/dut/inspire'
1
6777
And param service = 'CSW'
0
6778
And param version = '2.0.2'
0
6779
And param request = 'GetRecordById'
0
6780
And param id = 'f61eec5c-cb91-40b6-ad35-9bca967006cc'
1
6781
And param elementsetname = 'full'
0
6782
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6783
When method get
2375
6784
Then status 200
0
6785
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f61eec5c-cb91-40b6-ad35-9bca967006cc'
2
6786
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6787
* def title = get response //citation/CI_Citation/title/CharacterString
0
6788
* def email = get response //electronicMailAddress/CharacterString
0
6789
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6790
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6791
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6792
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6793
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6794
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6795
* print organisationpath
0
09:37:19.560 [print]
6796
* print operateson
0
09:37:19.560 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=588a4cb1-b442-4ac1-87e4-40401e353166#MD_DataIdentification
6797
* eval db.writeln('"f61eec5c-cb91-40b6-ad35-9bca967006cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
6798
* eval db.writeln('"f61eec5c-cb91-40b6-ad35-9bca967006cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.207:18]9c5351c8-d8f4-41c2-9642-42a63496a6fe
ms: 2585
>>
Background:
6799
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
6800
* def mystorage = Java.type('storage.DataStorage')
1
6801
* def db = new mystorage
6
6802
* def db = db.setfeature(karate.info.featureFileName)
4
6803
* def separator = java.lang.System.getProperty("file.separator")
2
6804
* def outputpath = db.outputpath()
1
6805
* eval db.ensureDirectory(outputpath)
2
6806
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
6807
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6808
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6809
Given path 'geonetwork/srv/dut/inspire'
0
6810
And param service = 'CSW'
0
6811
And param version = '2.0.2'
0
6812
And param request = 'GetRecordById'
0
6813
And param id = '9c5351c8-d8f4-41c2-9642-42a63496a6fe'
0
6814
And param elementsetname = 'full'
0
6815
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6816
When method get
2550
6817
Then status 200
0
6818
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9c5351c8-d8f4-41c2-9642-42a63496a6fe'
3
6819
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
6820
* def title = get response //citation/CI_Citation/title/CharacterString
2
6821
* def email = get response //electronicMailAddress/CharacterString
2
6822
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
6823
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
6824
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
12
6825
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
6826
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
6827
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
6828
* print organisationpath
0
09:37:19.783 [print] Beheer PDOK
6829
* print operateson
0
09:37:19.783 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=03671a9e-6aaf-464d-be99-9aad25cef9e3#MD_DataIdentification
6830
* eval db.writeln('"9c5351c8-d8f4-41c2-9642-42a63496a6fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
6831
* eval db.writeln('"9c5351c8-d8f4-41c2-9642-42a63496a6fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.208:18]adn573b0-bd3b-4d7b-a97d-e65841e6e0b3
ms: 2716
>>
Background:
6832
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
6833
* def mystorage = Java.type('storage.DataStorage')
1
6834
* def db = new mystorage
6
6835
* def db = db.setfeature(karate.info.featureFileName)
4
6836
* def separator = java.lang.System.getProperty("file.separator")
2
6837
* def outputpath = db.outputpath()
1
6838
* eval db.ensureDirectory(outputpath)
2
6839
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
6840
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6841
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6842
Given path 'geonetwork/srv/dut/inspire'
1
6843
And param service = 'CSW'
0
6844
And param version = '2.0.2'
0
6845
And param request = 'GetRecordById'
0
6846
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b3'
0
6847
And param elementsetname = 'full'
0
6848
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6849
When method get
2705
6850
Then status 200
0
6851
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b3'
2
6852
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6853
* def title = get response //citation/CI_Citation/title/CharacterString
1
6854
* def email = get response //electronicMailAddress/CharacterString
1
6855
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6856
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6857
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6858
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6859
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6860
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6861
* print organisationpath
0
09:37:19.934 [print] Rijkswaterstaat
6862
* print operateson
0
09:37:19.934 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=adn73c4a-ef03-4785-b7f6-942e86b385f5#MD_DataIdentification
6863
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
6864
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.209:18]adn573b0-bd3b-4d7b-a97d-e65841e6e0b4
ms: 2610
>>
Background:
6865
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
6866
* def mystorage = Java.type('storage.DataStorage')
1
6867
* def db = new mystorage
6
6868
* def db = db.setfeature(karate.info.featureFileName)
4
6869
* def separator = java.lang.System.getProperty("file.separator")
2
6870
* def outputpath = db.outputpath()
1
6871
* eval db.ensureDirectory(outputpath)
2
6872
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
6873
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6874
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6875
Given path 'geonetwork/srv/dut/inspire'
0
6876
And param service = 'CSW'
0
6877
And param version = '2.0.2'
0
6878
And param request = 'GetRecordById'
0
6879
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b4'
1
6880
And param elementsetname = 'full'
0
6881
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6882
When method get
2600
6883
Then status 200
0
6884
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b4'
1
6885
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6886
* def title = get response //citation/CI_Citation/title/CharacterString
0
6887
* def email = get response //electronicMailAddress/CharacterString
0
6888
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6889
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6890
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6891
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6892
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6893
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6894
* print organisationpath
0
09:37:19.868 [print] Rijkswaterstaat
6895
* print operateson
0
09:37:19.868 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?SERVICE=csw&VERSION=2.0.2&REQUEST=GetRecordById&ID=adn73c4a-ef03-4785-b7f6-942e86b385f7&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
6896
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6897
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.210:18]wt-83730-e750-485a-9c0c-39bf9bt72cf8
ms: 2244
>>
Background:
6898
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
6899
* def mystorage = Java.type('storage.DataStorage')
1
6900
* def db = new mystorage
6
6901
* def db = db.setfeature(karate.info.featureFileName)
4
6902
* def separator = java.lang.System.getProperty("file.separator")
2
6903
* def outputpath = db.outputpath()
1
6904
* eval db.ensureDirectory(outputpath)
2
6905
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
6906
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6907
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6908
Given path 'geonetwork/srv/dut/inspire'
1
6909
And param service = 'CSW'
0
6910
And param version = '2.0.2'
0
6911
And param request = 'GetRecordById'
0
6912
And param id = 'wt-83730-e750-485a-9c0c-39bf9bt72cf8'
1
6913
And param elementsetname = 'full'
0
6914
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6915
When method get
2234
6916
Then status 200
0
6917
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-83730-e750-485a-9c0c-39bf9bt72cf8'
1
6918
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6919
* def title = get response //citation/CI_Citation/title/CharacterString
0
6920
* def email = get response //electronicMailAddress/CharacterString
1
6921
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6922
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6923
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6924
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6925
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6926
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6927
* print organisationpath
0
09:37:19.775 [print] Rijkswaterstaat
6928
* print operateson
0
09:37:19.775 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-83730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification
6929
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bt72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
6930
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bt72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.211:18]wt-f5eb-b09f-4f6d-8397-8878a1t86238
ms: 2264
>>
Background:
6931
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
6932
* def mystorage = Java.type('storage.DataStorage')
1
6933
* def db = new mystorage
6
6934
* def db = db.setfeature(karate.info.featureFileName)
4
6935
* def separator = java.lang.System.getProperty("file.separator")
2
6936
* def outputpath = db.outputpath()
1
6937
* eval db.ensureDirectory(outputpath)
2
6938
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
6939
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6940
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6941
Given path 'geonetwork/srv/dut/inspire'
1
6942
And param service = 'CSW'
0
6943
And param version = '2.0.2'
0
6944
And param request = 'GetRecordById'
0
6945
And param id = 'wt-f5eb-b09f-4f6d-8397-8878a1t86238'
0
6946
And param elementsetname = 'full'
0
6947
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6948
When method get
2254
6949
Then status 200
0
6950
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f5eb-b09f-4f6d-8397-8878a1t86238'
1
6951
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6952
* def title = get response //citation/CI_Citation/title/CharacterString
0
6953
* def email = get response //electronicMailAddress/CharacterString
0
6954
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6955
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6956
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6957
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6958
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6959
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6960
* print organisationpath
0
09:37:19.820 [print] Rijkswaterstaat
6961
* print operateson
0
09:37:19.820 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-f5eb-b09f-4f6d-8397-8878a1b86238#MD_DataIdentification
6962
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1t86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
6963
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1t86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.212:18]wt-3730-e750-485a-9c0c-39bf9bt72cf9
ms: 2578
>>
Background:
6964
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
6965
* def mystorage = Java.type('storage.DataStorage')
1
6966
* def db = new mystorage
6
6967
* def db = db.setfeature(karate.info.featureFileName)
4
6968
* def separator = java.lang.System.getProperty("file.separator")
2
6969
* def outputpath = db.outputpath()
1
6970
* eval db.ensureDirectory(outputpath)
2
6971
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
6972
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
6973
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
6974
Given path 'geonetwork/srv/dut/inspire'
1
6975
And param service = 'CSW'
0
6976
And param version = '2.0.2'
0
6977
And param request = 'GetRecordById'
0
6978
And param id = 'wt-3730-e750-485a-9c0c-39bf9bt72cf9'
0
6979
And param elementsetname = 'full'
0
6980
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6981
When method get
2568
6982
Then status 200
0
6983
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-3730-e750-485a-9c0c-39bf9bt72cf9'
1
6984
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6985
* def title = get response //citation/CI_Citation/title/CharacterString
0
6986
* def email = get response //electronicMailAddress/CharacterString
0
6987
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6988
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6989
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6990
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6991
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6992
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6993
* print organisationpath
0
09:37:20.142 [print] Rijkswaterstaat
6994
* print operateson
0
09:37:20.143 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-3730-e750-485a-9c0c-39bf9be72cf9#MD_DataIdentification
6995
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bt72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
6996
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bt72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.213:18]wt-83730-e750-485a-9c0c-39bf9bm72cf8
ms: 2456
>>
Background:
6997
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
6998
* def mystorage = Java.type('storage.DataStorage')
1
6999
* def db = new mystorage
6
7000
* def db = db.setfeature(karate.info.featureFileName)
4
7001
* def separator = java.lang.System.getProperty("file.separator")
2
7002
* def outputpath = db.outputpath()
1
7003
* eval db.ensureDirectory(outputpath)
2
7004
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
7005
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7006
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7007
Given path 'geonetwork/srv/dut/inspire'
0
7008
And param service = 'CSW'
0
7009
And param version = '2.0.2'
0
7010
And param request = 'GetRecordById'
0
7011
And param id = 'wt-83730-e750-485a-9c0c-39bf9bm72cf8'
1
7012
And param elementsetname = 'full'
0
7013
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7014
When method get
2444
7015
Then status 200
0
7016
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-83730-e750-485a-9c0c-39bf9bm72cf8'
2
7017
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7018
* def title = get response //citation/CI_Citation/title/CharacterString
1
7019
* def email = get response //electronicMailAddress/CharacterString
1
7020
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7021
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7022
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7023
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7024
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7025
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7026
* print organisationpath
0
09:37:20.179 [print] Rijkswaterstaat
7027
* print operateson
0
09:37:20.179 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-83730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification
7028
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bm72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
7029
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bm72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.214:18]wt-f5eb-b09f-4f6d-8397-8878a1m86238
ms: 2435
>>
Background:
7030
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
7031
* def mystorage = Java.type('storage.DataStorage')
1
7032
* def db = new mystorage
6
7033
* def db = db.setfeature(karate.info.featureFileName)
4
7034
* def separator = java.lang.System.getProperty("file.separator")
2
7035
* def outputpath = db.outputpath()
1
7036
* eval db.ensureDirectory(outputpath)
2
7037
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
7038
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7039
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7040
Given path 'geonetwork/srv/dut/inspire'
1
7041
And param service = 'CSW'
0
7042
And param version = '2.0.2'
0
7043
And param request = 'GetRecordById'
0
7044
And param id = 'wt-f5eb-b09f-4f6d-8397-8878a1m86238'
1
7045
And param elementsetname = 'full'
0
7046
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7047
When method get
2423
7048
Then status 200
0
7049
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f5eb-b09f-4f6d-8397-8878a1m86238'
1
7050
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7051
* def title = get response //citation/CI_Citation/title/CharacterString
0
7052
* def email = get response //electronicMailAddress/CharacterString
0
7053
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7054
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7055
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7056
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7057
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
7058
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7059
* print organisationpath
0
09:37:20.203 [print] Rijkswaterstaat
7060
* print operateson
0
09:37:20.203 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-f5eb-b09f-4f6d-8397-8878a1b86238#MD_DataIdentification
7061
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1m86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
7062
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1m86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.215:18]wt-3730-e750-485a-9c0c-39bf9bm72cf9
ms: 2807
>>
Background:
7063
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
7064
* def mystorage = Java.type('storage.DataStorage')
1
7065
* def db = new mystorage
6
7066
* def db = db.setfeature(karate.info.featureFileName)
4
7067
* def separator = java.lang.System.getProperty("file.separator")
2
7068
* def outputpath = db.outputpath()
1
7069
* eval db.ensureDirectory(outputpath)
2
7070
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
7071
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7072
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7073
Given path 'geonetwork/srv/dut/inspire'
5
7074
And param service = 'CSW'
0
7075
And param version = '2.0.2'
0
7076
And param request = 'GetRecordById'
0
7077
And param id = 'wt-3730-e750-485a-9c0c-39bf9bm72cf9'
1
7078
And param elementsetname = 'full'
0
7079
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7080
When method get
2793
7081
Then status 200
0
7082
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-3730-e750-485a-9c0c-39bf9bm72cf9'
1
7083
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7084
* def title = get response //citation/CI_Citation/title/CharacterString
0
7085
* def email = get response //electronicMailAddress/CharacterString
0
7086
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7087
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7088
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
7089
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7090
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7091
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7092
* print organisationpath
0
09:37:20.823 [print] Rijkswaterstaat
7093
* print operateson
0
09:37:20.823 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-3730-e750-485a-9c0c-39bf9be72cf9#MD_DataIdentification
7094
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bm72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7095
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bm72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.216:18]wt-83730-e750-485a-9c0c-39bf9bf72cf8
ms: 2437
>>
Background:
7096
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
7097
* def mystorage = Java.type('storage.DataStorage')
1
7098
* def db = new mystorage
6
7099
* def db = db.setfeature(karate.info.featureFileName)
4
7100
* def separator = java.lang.System.getProperty("file.separator")
2
7101
* def outputpath = db.outputpath()
1
7102
* eval db.ensureDirectory(outputpath)
2
7103
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
7104
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7105
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7106
Given path 'geonetwork/srv/dut/inspire'
3
7107
And param service = 'CSW'
0
7108
And param version = '2.0.2'
0
7109
And param request = 'GetRecordById'
0
7110
And param id = 'wt-83730-e750-485a-9c0c-39bf9bf72cf8'
0
7111
And param elementsetname = 'full'
0
7112
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7113
When method get
2424
7114
Then status 200
0
7115
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-83730-e750-485a-9c0c-39bf9bf72cf8'
1
7116
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7117
* def title = get response //citation/CI_Citation/title/CharacterString
0
7118
* def email = get response //electronicMailAddress/CharacterString
0
7119
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7120
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7121
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7122
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7123
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7124
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7125
* print organisationpath
0
09:37:20.601 [print] Rijkswaterstaat
7126
* print operateson
0
09:37:20.601 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?SERVICE=csw&VERSION=2.0.2&REQUEST=GetRecordById&ID=wt-83730-e750-485a-9c0c-39bf9be72cf8&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
7127
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bf72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
7128
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bf72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.217:18]wt-3730-e750-485a-9c0c-39bf9bf72cf9
ms: 2635
>>
Background:
7129
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
7130
* def mystorage = Java.type('storage.DataStorage')
1
7131
* def db = new mystorage
6
7132
* def db = db.setfeature(karate.info.featureFileName)
4
7133
* def separator = java.lang.System.getProperty("file.separator")
2
7134
* def outputpath = db.outputpath()
1
7135
* eval db.ensureDirectory(outputpath)
2
7136
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
7137
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7138
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7139
Given path 'geonetwork/srv/dut/inspire'
0
7140
And param service = 'CSW'
0
7141
And param version = '2.0.2'
0
7142
And param request = 'GetRecordById'
0
7143
And param id = 'wt-3730-e750-485a-9c0c-39bf9bf72cf9'
0
7144
And param elementsetname = 'full'
0
7145
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7146
When method get
2622
7147
Then status 200
0
7148
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-3730-e750-485a-9c0c-39bf9bf72cf9'
1
7149
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7150
* def title = get response //citation/CI_Citation/title/CharacterString
1
7151
* def email = get response //electronicMailAddress/CharacterString
3
7152
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7153
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7154
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7155
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7156
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7157
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7158
* print organisationpath
0
09:37:20.803 [print] Rijkswaterstaat
7159
* print operateson
0
09:37:20.803 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?SERVICE=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-3730-e750-485a-9c0c-39bf9be72cf9#MD_DataIdentification
7160
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bf72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
7161
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bf72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.218:18]wt-f5eb-b09f-4f6d-8397-8878a1f86238
ms: 2453
>>
Background:
7162
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
7163
* def mystorage = Java.type('storage.DataStorage')
1
7164
* def db = new mystorage
6
7165
* def db = db.setfeature(karate.info.featureFileName)
4
7166
* def separator = java.lang.System.getProperty("file.separator")
2
7167
* def outputpath = db.outputpath()
1
7168
* eval db.ensureDirectory(outputpath)
2
7169
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
7170
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7171
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7172
Given path 'geonetwork/srv/dut/inspire'
1
7173
And param service = 'CSW'
0
7174
And param version = '2.0.2'
0
7175
And param request = 'GetRecordById'
0
7176
And param id = 'wt-f5eb-b09f-4f6d-8397-8878a1f86238'
0
7177
And param elementsetname = 'full'
0
7178
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7179
When method get
2443
7180
Then status 200
0
7181
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f5eb-b09f-4f6d-8397-8878a1f86238'
1
7182
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7183
* def title = get response //citation/CI_Citation/title/CharacterString
0
7184
* def email = get response //electronicMailAddress/CharacterString
0
7185
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7186
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
7187
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7188
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
7189
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7190
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7191
* print organisationpath
0
09:37:20.744 [print] Rijkswaterstaat
7192
* print operateson
0
09:37:20.745 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?SERVICE=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-f5eb-b09f-4f6d-8397-8878a1b86238#MD_DataIdentification
7193
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1f86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
7194
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1f86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.219:18]tbjk534p-wubf-crbp-cj25-d41611f0gfim
ms: 2909
>>
Background:
7195
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
7196
* def mystorage = Java.type('storage.DataStorage')
1
7197
* def db = new mystorage
6
7198
* def db = db.setfeature(karate.info.featureFileName)
4
7199
* def separator = java.lang.System.getProperty("file.separator")
2
7200
* def outputpath = db.outputpath()
1
7201
* eval db.ensureDirectory(outputpath)
2
7202
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
7203
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7204
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7205
Given path 'geonetwork/srv/dut/inspire'
0
7206
And param service = 'CSW'
0
7207
And param version = '2.0.2'
0
7208
And param request = 'GetRecordById'
0
7209
And param id = 'tbjk534p-wubf-crbp-cj25-d41611f0gfim'
0
7210
And param elementsetname = 'full'
0
7211
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7212
When method get
2896
7213
Then status 200
0
7214
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tbjk534p-wubf-crbp-cj25-d41611f0gfim'
2
7215
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7216
* def title = get response //citation/CI_Citation/title/CharacterString
1
7217
* def email = get response //electronicMailAddress/CharacterString
1
7218
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7219
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
7220
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
7221
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
7222
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
7223
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7224
* print organisationpath
0
09:37:21.207 [print] Rijkswaterstaat
7225
* print operateson
1
09:37:21.208 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=tbjk534p-wubf-crbp-cj25-d4161160gfim&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
7226
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611f0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
7227
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611f0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.220:18]wt-f297898-2640-44c2-bbe9-c0480df83794
ms: 2585
>>
Background:
7228
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
7229
* def mystorage = Java.type('storage.DataStorage')
1
7230
* def db = new mystorage
6
7231
* def db = db.setfeature(karate.info.featureFileName)
4
7232
* def separator = java.lang.System.getProperty("file.separator")
2
7233
* def outputpath = db.outputpath()
1
7234
* eval db.ensureDirectory(outputpath)
2
7235
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
7236
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7237
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7238
Given path 'geonetwork/srv/dut/inspire'
0
7239
And param service = 'CSW'
0
7240
And param version = '2.0.2'
0
7241
And param request = 'GetRecordById'
0
7242
And param id = 'wt-f297898-2640-44c2-bbe9-c0480df83794'
1
7243
And param elementsetname = 'full'
0
7244
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7245
When method get
2570
7246
Then status 200
0
7247
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f297898-2640-44c2-bbe9-c0480df83794'
1
7248
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7249
* def title = get response //citation/CI_Citation/title/CharacterString
1
7250
* def email = get response //electronicMailAddress/CharacterString
0
7251
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7252
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7253
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7254
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7255
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7256
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7257
* print organisationpath
3
09:37:21.071 [print] Rijkswaterstaat
7258
* print operateson
0
09:37:21.071 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification
7259
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480df83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
7260
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480df83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.221:18]wt-f297898-2640-44c2-bbe9-c0480dm83794
ms: 2660
>>
Background:
7261
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
7262
* def mystorage = Java.type('storage.DataStorage')
1
7263
* def db = new mystorage
6
7264
* def db = db.setfeature(karate.info.featureFileName)
4
7265
* def separator = java.lang.System.getProperty("file.separator")
2
7266
* def outputpath = db.outputpath()
1
7267
* eval db.ensureDirectory(outputpath)
2
7268
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
7269
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7270
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7271
Given path 'geonetwork/srv/dut/inspire'
1
7272
And param service = 'CSW'
0
7273
And param version = '2.0.2'
0
7274
And param request = 'GetRecordById'
0
7275
And param id = 'wt-f297898-2640-44c2-bbe9-c0480dm83794'
1
7276
And param elementsetname = 'full'
0
7277
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7278
When method get
2650
7279
Then status 200
0
7280
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f297898-2640-44c2-bbe9-c0480dm83794'
1
7281
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7282
* def title = get response //citation/CI_Citation/title/CharacterString
0
7283
* def email = get response //electronicMailAddress/CharacterString
0
7284
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7285
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7286
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7287
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7288
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7289
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7290
* print organisationpath
0
09:37:21.222 [print] Rijkswaterstaat
7291
* print operateson
0
09:37:21.222 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification
7292
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480dm83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7293
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480dm83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.222:18]tbjk534p-wubf-crbp-cj25-d41611m0gfim
ms: 2875
>>
Background:
7294
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
7295
* def mystorage = Java.type('storage.DataStorage')
1
7296
* def db = new mystorage
6
7297
* def db = db.setfeature(karate.info.featureFileName)
4
7298
* def separator = java.lang.System.getProperty("file.separator")
2
7299
* def outputpath = db.outputpath()
1
7300
* eval db.ensureDirectory(outputpath)
2
7301
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
7302
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7303
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7304
Given path 'geonetwork/srv/dut/inspire'
0
7305
And param service = 'CSW'
0
7306
And param version = '2.0.2'
0
7307
And param request = 'GetRecordById'
0
7308
And param id = 'tbjk534p-wubf-crbp-cj25-d41611m0gfim'
1
7309
And param elementsetname = 'full'
0
7310
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7311
When method get
2862
7312
Then status 200
0
7313
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tbjk534p-wubf-crbp-cj25-d41611m0gfim'
2
7314
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7315
* def title = get response //citation/CI_Citation/title/CharacterString
1
7316
* def email = get response //electronicMailAddress/CharacterString
1
7317
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7318
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
7319
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
7320
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
7321
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
7322
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7323
* print organisationpath
0
09:37:21.497 [print] Rijkswaterstaat
7324
* print operateson
0
09:37:21.497 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=tbjk534p-wubf-crbp-cj25-d4161160gfim&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
7325
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611m0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
7326
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611m0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.223:18]tn-2c7040b-c448-451b-bf15-f2416efaadd1
ms: 2527
>>
Background:
7327
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
7328
* def mystorage = Java.type('storage.DataStorage')
1
7329
* def db = new mystorage
6
7330
* def db = db.setfeature(karate.info.featureFileName)
4
7331
* def separator = java.lang.System.getProperty("file.separator")
2
7332
* def outputpath = db.outputpath()
1
7333
* eval db.ensureDirectory(outputpath)
2
7334
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
7335
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7336
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7337
Given path 'geonetwork/srv/dut/inspire'
1
7338
And param service = 'CSW'
0
7339
And param version = '2.0.2'
0
7340
And param request = 'GetRecordById'
0
7341
And param id = 'tn-2c7040b-c448-451b-bf15-f2416efaadd1'
1
7342
And param elementsetname = 'full'
0
7343
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7344
When method get
2514
7345
Then status 200
0
7346
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tn-2c7040b-c448-451b-bf15-f2416efaadd1'
2
7347
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7348
* def title = get response //citation/CI_Citation/title/CharacterString
1
7349
* def email = get response //electronicMailAddress/CharacterString
1
7350
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7351
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
7352
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
7353
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
7354
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
7355
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7356
* print organisationpath
0
09:37:21.394 [print] Rijkswaterstaat
7357
* print operateson
0
09:37:21.394 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification
7358
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416efaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
7359
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416efaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.224:18]tn-2c7040b-c448-451b-bf15-f2416etaadd1
ms: 2448
>>
Background:
7360
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
7361
* def mystorage = Java.type('storage.DataStorage')
1
7362
* def db = new mystorage
6
7363
* def db = db.setfeature(karate.info.featureFileName)
4
7364
* def separator = java.lang.System.getProperty("file.separator")
2
7365
* def outputpath = db.outputpath()
1
7366
* eval db.ensureDirectory(outputpath)
2
7367
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
7368
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7369
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7370
Given path 'geonetwork/srv/dut/inspire'
1
7371
And param service = 'CSW'
0
7372
And param version = '2.0.2'
0
7373
And param request = 'GetRecordById'
0
7374
And param id = 'tn-2c7040b-c448-451b-bf15-f2416etaadd1'
1
7375
And param elementsetname = 'full'
0
7376
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7377
When method get
2436
7378
Then status 200
0
7379
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tn-2c7040b-c448-451b-bf15-f2416etaadd1'
1
7380
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7381
* def title = get response //citation/CI_Citation/title/CharacterString
1
7382
* def email = get response //electronicMailAddress/CharacterString
1
7383
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7384
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7385
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7386
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7387
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7388
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7389
* print organisationpath
0
09:37:21.353 [print] Rijkswaterstaat
7390
* print operateson
0
09:37:21.353 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification
7391
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416etaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
7392
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416etaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.225:18]tn-2c7040b-c448-451b-bf15-f2416emaadd1
ms: 3067
>>
Background:
7393
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
7394
* def mystorage = Java.type('storage.DataStorage')
1
7395
* def db = new mystorage
6
7396
* def db = db.setfeature(karate.info.featureFileName)
4
7397
* def separator = java.lang.System.getProperty("file.separator")
2
7398
* def outputpath = db.outputpath()
1
7399
* eval db.ensureDirectory(outputpath)
2
7400
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
7401
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7402
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7403
Given path 'geonetwork/srv/dut/inspire'
1
7404
And param service = 'CSW'
0
7405
And param version = '2.0.2'
0
7406
And param request = 'GetRecordById'
0
7407
And param id = 'tn-2c7040b-c448-451b-bf15-f2416emaadd1'
1
7408
And param elementsetname = 'full'
0
7409
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7410
When method get
2920
7411
Then status 200
0
7412
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tn-2c7040b-c448-451b-bf15-f2416emaadd1'
2
7413
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
133
7414
* def title = get response //citation/CI_Citation/title/CharacterString
1
7415
* def email = get response //electronicMailAddress/CharacterString
1
7416
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7417
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7418
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
7419
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7420
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7421
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7422
* print organisationpath
0
09:37:21.988 [print] Rijkswaterstaat
7423
* print operateson
0
09:37:21.988 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification
7424
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416emaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
7425
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416emaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.226:18]cf69ec50-9849-4afd-853c-ee5621fd336d
ms: 2587
>>
Background:
7426
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
7427
* def mystorage = Java.type('storage.DataStorage')
1
7428
* def db = new mystorage
6
7429
* def db = db.setfeature(karate.info.featureFileName)
4
7430
* def separator = java.lang.System.getProperty("file.separator")
2
7431
* def outputpath = db.outputpath()
1
7432
* eval db.ensureDirectory(outputpath)
2
7433
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
7434
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7435
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7436
Given path 'geonetwork/srv/dut/inspire'
2
7437
And param service = 'CSW'
0
7438
And param version = '2.0.2'
0
7439
And param request = 'GetRecordById'
0
7440
And param id = 'cf69ec50-9849-4afd-853c-ee5621fd336d'
1
7441
And param elementsetname = 'full'
0
7442
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7443
When method get
2573
7444
Then status 200
0
7445
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cf69ec50-9849-4afd-853c-ee5621fd336d'
2
7446
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7447
* def title = get response //citation/CI_Citation/title/CharacterString
0
7448
* def email = get response //electronicMailAddress/CharacterString
0
7449
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7450
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7451
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7452
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
7453
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7454
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7455
* print organisationpath
0
09:37:21.599 [print] Rijkswaterstaat
7456
* print operateson
0
09:37:21.599 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=cf69ec50-9849-4afd-853c-ee56211d336d&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
7457
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee5621fd336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
7458
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee5621fd336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.227:18]cf69ec50-9849-4afd-853c-ee5621md336d
ms: 2038
>>
Background:
7459
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
7460
* def mystorage = Java.type('storage.DataStorage')
1
7461
* def db = new mystorage
6
7462
* def db = db.setfeature(karate.info.featureFileName)
4
7463
* def separator = java.lang.System.getProperty("file.separator")
2
7464
* def outputpath = db.outputpath()
1
7465
* eval db.ensureDirectory(outputpath)
2
7466
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
7467
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7468
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7469
Given path 'geonetwork/srv/dut/inspire'
0
7470
And param service = 'CSW'
0
7471
And param version = '2.0.2'
0
7472
And param request = 'GetRecordById'
0
7473
And param id = 'cf69ec50-9849-4afd-853c-ee5621md336d'
0
7474
And param elementsetname = 'full'
0
7475
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7476
When method get
2028
7477
Then status 200
0
7478
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cf69ec50-9849-4afd-853c-ee5621md336d'
1
7479
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7480
* def title = get response //citation/CI_Citation/title/CharacterString
0
7481
* def email = get response //electronicMailAddress/CharacterString
0
7482
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7483
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7484
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7485
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7486
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7487
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7488
* print organisationpath
0
09:37:21.599 [print] Rijkswaterstaat
7489
* print operateson
0
09:37:21.599 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=cf69ec50-9849-4afd-853c-ee56211d336d&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
7490
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee5621md336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7491
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee5621md336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.228:18]68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2
ms: 699
>>
Background:
7492
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
7493
* def mystorage = Java.type('storage.DataStorage')
1
7494
* def db = new mystorage
6
7495
* def db = db.setfeature(karate.info.featureFileName)
4
7496
* def separator = java.lang.System.getProperty("file.separator")
2
7497
* def outputpath = db.outputpath()
1
7498
* eval db.ensureDirectory(outputpath)
2
7499
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
7500
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7501
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7502
Given path 'geonetwork/srv/dut/inspire'
1
7503
And param service = 'CSW'
0
7504
And param version = '2.0.2'
0
7505
And param request = 'GetRecordById'
0
7506
And param id = '68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2'
1
7507
And param elementsetname = 'full'
0
7508
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7509
When method get
688
7510
Then status 200
0
7511
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2'
1
7512
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7513
* def title = get response //citation/CI_Citation/title/CharacterString
0
7514
* def email = get response //electronicMailAddress/CharacterString
0
7515
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7516
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7517
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7518
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7519
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7520
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7521
* print organisationpath
0
09:37:20.380 [print] Rijkswaterstaat
7522
* print operateson
0
09:37:20.380 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
7523
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7524
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.229:18]68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2
ms: 2071
>>
Background:
7525
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
7526
* def mystorage = Java.type('storage.DataStorage')
1
7527
* def db = new mystorage
6
7528
* def db = db.setfeature(karate.info.featureFileName)
4
7529
* def separator = java.lang.System.getProperty("file.separator")
2
7530
* def outputpath = db.outputpath()
1
7531
* eval db.ensureDirectory(outputpath)
2
7532
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
7533
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7534
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7535
Given path 'geonetwork/srv/dut/inspire'
2
7536
And param service = 'CSW'
0
7537
And param version = '2.0.2'
0
7538
And param request = 'GetRecordById'
0
7539
And param id = '68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2'
0
7540
And param elementsetname = 'full'
0
7541
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7542
When method get
2022
7543
Then status 200
0
7544
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2'
1
7545
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7546
* def title = get response //citation/CI_Citation/title/CharacterString
1
7547
* def email = get response //electronicMailAddress/CharacterString
1
7548
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7549
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7550
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7551
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7552
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
32
7553
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
3
7554
* print organisationpath
0
09:37:21.757 [print] Rijkswaterstaat
7555
* print operateson
0
09:37:21.757 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
7556
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
7557
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.230:18]ceda1b88-32ac-40b2-a841-71eb041c9427
ms: 2283
>>
Background:
7558
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
7559
* def mystorage = Java.type('storage.DataStorage')
1
7560
* def db = new mystorage
6
7561
* def db = db.setfeature(karate.info.featureFileName)
4
7562
* def separator = java.lang.System.getProperty("file.separator")
2
7563
* def outputpath = db.outputpath()
1
7564
* eval db.ensureDirectory(outputpath)
2
7565
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
7566
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7567
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7568
Given path 'geonetwork/srv/dut/inspire'
1
7569
And param service = 'CSW'
0
7570
And param version = '2.0.2'
0
7571
And param request = 'GetRecordById'
0
7572
And param id = 'ceda1b88-32ac-40b2-a841-71eb041c9427'
0
7573
And param elementsetname = 'full'
0
7574
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7575
When method get
2261
7576
Then status 200
0
7577
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ceda1b88-32ac-40b2-a841-71eb041c9427'
1
7578
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7579
* def title = get response //citation/CI_Citation/title/CharacterString
1
7580
* def email = get response //electronicMailAddress/CharacterString
9
7581
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7582
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7583
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
7584
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7585
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7586
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
3
7587
* print organisationpath
0
09:37:22.005 [print] Beheer PDOK
7588
* print operateson
0
09:37:22.005 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=11d83e36-fd0d-46bc-838c-0567c5dfdb19#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=34dacd72-d2fb-4e28-844d-73d3b9c3fef2#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=419b85e5-04ee-4cc9-b910-bc58594a943a#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=119f7512-a71e-4d1a-82e7-7a2b63f9338b#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6ea55ec4-f312-40ef-9935-68806e61b496#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=af784610-df36-4d40-bac0-23d8e728999f#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=24eb504e-f5f3-4ecf-b760-cc5630e82a57#MD_DataIdentification" ]
7589
* eval db.writeln('"ceda1b88-32ac-40b2-a841-71eb041c9427","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7590
* eval db.writeln('"ceda1b88-32ac-40b2-a841-71eb041c9427","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.231:18]f39d198a-1e69-43cc-b359-cc60a8c22d28
ms: 2314
>>
Background:
7591
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
7592
* def mystorage = Java.type('storage.DataStorage')
1
7593
* def db = new mystorage
6
7594
* def db = db.setfeature(karate.info.featureFileName)
4
7595
* def separator = java.lang.System.getProperty("file.separator")
2
7596
* def outputpath = db.outputpath()
1
7597
* eval db.ensureDirectory(outputpath)
2
7598
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
7599
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7600
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7601
Given path 'geonetwork/srv/dut/inspire'
3
7602
And param service = 'CSW'
0
7603
And param version = '2.0.2'
0
7604
And param request = 'GetRecordById'
0
7605
And param id = 'f39d198a-1e69-43cc-b359-cc60a8c22d28'
0
7606
And param elementsetname = 'full'
0
7607
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7608
When method get
2266
7609
Then status 200
0
7610
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f39d198a-1e69-43cc-b359-cc60a8c22d28'
18
7611
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
4
7612
* def title = get response //citation/CI_Citation/title/CharacterString
1
7613
* def email = get response //electronicMailAddress/CharacterString
0
7614
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
3
7615
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7616
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7617
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7618
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7619
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7620
* print organisationpath
0
09:37:22.081 [print]
7621
* print operateson
0
09:37:22.081 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=733559a5-201d-40e5-ad43-d1c7bae84d9f#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d3c9efd6-fca7-49d6-92bb-5f507abece90#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=af135cd8-d429-4fc7-b9e3-09e15217520d#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3ec8793-7747-4da0-b6c3-aa384446a586#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5800f3b0-2ea2-4231-8165-216a7b26867f#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d8f370e8-123c-4ab3-9410-04f728327ac6#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f91c6ad6-62a5-46d0-8a5b-8a62e7a4b833#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=500d396f-5ec6-4e4b-a151-5fb3cddd8082#MD_DataIdentification" ]
7622
* eval db.writeln('"f39d198a-1e69-43cc-b359-cc60a8c22d28","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
7623
* eval db.writeln('"f39d198a-1e69-43cc-b359-cc60a8c22d28","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
13
Scenario Outline: [1.232:18]d94b1eca-8a7d-4dc4-b979-36257878758f
ms: 2221
>>
Background:
7624
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
7625
* def mystorage = Java.type('storage.DataStorage')
1
7626
* def db = new mystorage
6
7627
* def db = db.setfeature(karate.info.featureFileName)
4
7628
* def separator = java.lang.System.getProperty("file.separator")
2
7629
* def outputpath = db.outputpath()
1
7630
* eval db.ensureDirectory(outputpath)
2
7631
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
7632
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7633
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7634
Given path 'geonetwork/srv/dut/inspire'
1
7635
And param service = 'CSW'
0
7636
And param version = '2.0.2'
0
7637
And param request = 'GetRecordById'
0
7638
And param id = 'd94b1eca-8a7d-4dc4-b979-36257878758f'
1
7639
And param elementsetname = 'full'
0
7640
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7641
When method get
2193
7642
Then status 200
0
7643
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd94b1eca-8a7d-4dc4-b979-36257878758f'
2
7644
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
5
7645
* def title = get response //citation/CI_Citation/title/CharacterString
1
7646
* def email = get response //electronicMailAddress/CharacterString
7
7647
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7648
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
7649
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
7650
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
7651
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
7652
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7653
* print organisationpath
0
09:37:22.004 [print]
7654
* print operateson
0
09:37:22.004 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification
7655
* eval db.writeln('"d94b1eca-8a7d-4dc4-b979-36257878758f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
7656
* eval db.writeln('"d94b1eca-8a7d-4dc4-b979-36257878758f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.233:18]008d85d1-460d-46f6-9af4-98afdedbc4dc
ms: 2260
>>
Background:
7657
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
7658
* def mystorage = Java.type('storage.DataStorage')
1
7659
* def db = new mystorage
6
7660
* def db = db.setfeature(karate.info.featureFileName)
4
7661
* def separator = java.lang.System.getProperty("file.separator")
2
7662
* def outputpath = db.outputpath()
1
7663
* eval db.ensureDirectory(outputpath)
2
7664
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
7665
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7666
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7667
Given path 'geonetwork/srv/dut/inspire'
1
7668
And param service = 'CSW'
0
7669
And param version = '2.0.2'
0
7670
And param request = 'GetRecordById'
0
7671
And param id = '008d85d1-460d-46f6-9af4-98afdedbc4dc'
0
7672
And param elementsetname = 'full'
0
7673
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7674
When method get
2213
7675
Then status 200
0
7676
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '008d85d1-460d-46f6-9af4-98afdedbc4dc'
1
7677
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7678
* def title = get response //citation/CI_Citation/title/CharacterString
1
7679
* def email = get response //electronicMailAddress/CharacterString
0
7680
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7681
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7682
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7683
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7684
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7685
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7686
* print organisationpath
0
09:37:22.043 [print] Beheer PDOK
7687
* print operateson
0
09:37:22.043 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76541ebb-a554-4540-a017-399d4bb4a860#MD_DataIdentification
7688
* eval db.writeln('"008d85d1-460d-46f6-9af4-98afdedbc4dc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
7689
* eval db.writeln('"008d85d1-460d-46f6-9af4-98afdedbc4dc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
39
Scenario Outline: [1.234:18]171b28f6-7ee7-46f9-b3b3-06d0baaa33db
ms: 2210
>>
Background:
7690
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
7691
* def mystorage = Java.type('storage.DataStorage')
1
7692
* def db = new mystorage
6
7693
* def db = db.setfeature(karate.info.featureFileName)
4
7694
* def separator = java.lang.System.getProperty("file.separator")
2
7695
* def outputpath = db.outputpath()
1
7696
* eval db.ensureDirectory(outputpath)
2
7697
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
7698
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7699
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7700
Given path 'geonetwork/srv/dut/inspire'
0
7701
And param service = 'CSW'
0
7702
And param version = '2.0.2'
0
7703
And param request = 'GetRecordById'
0
7704
And param id = '171b28f6-7ee7-46f9-b3b3-06d0baaa33db'
0
7705
And param elementsetname = 'full'
0
7706
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7707
When method get
2154
7708
Then status 200
0
7709
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '171b28f6-7ee7-46f9-b3b3-06d0baaa33db'
1
7710
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7711
* def title = get response //citation/CI_Citation/title/CharacterString
0
7712
* def email = get response //electronicMailAddress/CharacterString
0
7713
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7714
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7715
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7716
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7717
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7718
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7719
* print organisationpath
14
09:37:22.032 [print] Beheer PDOK
7720
* print operateson
0
09:37:22.046 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76541ebb-a554-4540-a017-399d4bb4a860#MD_DataIdentification
7721
* eval db.writeln('"171b28f6-7ee7-46f9-b3b3-06d0baaa33db","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
27
7722
* eval db.writeln('"171b28f6-7ee7-46f9-b3b3-06d0baaa33db","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
9
Scenario Outline: [1.235:18]2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0
ms: 2502
>>
Background:
7723
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
7724
* def mystorage = Java.type('storage.DataStorage')
1
7725
* def db = new mystorage
6
7726
* def db = db.setfeature(karate.info.featureFileName)
4
7727
* def separator = java.lang.System.getProperty("file.separator")
2
7728
* def outputpath = db.outputpath()
1
7729
* eval db.ensureDirectory(outputpath)
2
7730
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
7731
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7732
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7733
Given path 'geonetwork/srv/dut/inspire'
1
7734
And param service = 'CSW'
0
7735
And param version = '2.0.2'
0
7736
And param request = 'GetRecordById'
0
7737
And param id = '2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0'
1
7738
And param elementsetname = 'full'
0
7739
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7740
When method get
2493
7741
Then status 200
0
7742
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0'
1
7743
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7744
* def title = get response //citation/CI_Citation/title/CharacterString
0
7745
* def email = get response //electronicMailAddress/CharacterString
0
7746
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7747
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7748
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7749
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7750
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7751
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7752
* print organisationpath
0
09:37:22.438 [print] Beheer PDOK
7753
* print operateson
0
09:37:22.438 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ror-9d8e-4758-83fx-28b057f185g1#MD_DataIdentification
7754
* eval db.writeln('"2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
7755
* eval db.writeln('"2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.236:18]e9ba7d7f-6cd1-4271-bce4-56432924b338
ms: 2506
>>
Background:
7756
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
7757
* def mystorage = Java.type('storage.DataStorage')
1
7758
* def db = new mystorage
6
7759
* def db = db.setfeature(karate.info.featureFileName)
4
7760
* def separator = java.lang.System.getProperty("file.separator")
2
7761
* def outputpath = db.outputpath()
1
7762
* eval db.ensureDirectory(outputpath)
2
7763
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
7764
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7765
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7766
Given path 'geonetwork/srv/dut/inspire'
1
7767
And param service = 'CSW'
0
7768
And param version = '2.0.2'
0
7769
And param request = 'GetRecordById'
0
7770
And param id = 'e9ba7d7f-6cd1-4271-bce4-56432924b338'
1
7771
And param elementsetname = 'full'
0
7772
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7773
When method get
2497
7774
Then status 200
0
7775
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e9ba7d7f-6cd1-4271-bce4-56432924b338'
1
7776
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7777
* def title = get response //citation/CI_Citation/title/CharacterString
0
7778
* def email = get response //electronicMailAddress/CharacterString
0
7779
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7780
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7781
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7782
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7783
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7784
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7785
* print organisationpath
0
09:37:22.650 [print] Beheer PDOK
7786
* print operateson
0
09:37:22.650 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a04afee4-47d5-45b7-b7a0-a6f86106af11#MD_DataIdentification
7787
* eval db.writeln('"e9ba7d7f-6cd1-4271-bce4-56432924b338","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
7788
* eval db.writeln('"e9ba7d7f-6cd1-4271-bce4-56432924b338","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.237:18]30f65c89-2246-49f8-8b50-0f1140d6f2aa
ms: 2216
>>
Background:
7789
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
7790
* def mystorage = Java.type('storage.DataStorage')
1
7791
* def db = new mystorage
6
7792
* def db = db.setfeature(karate.info.featureFileName)
4
7793
* def separator = java.lang.System.getProperty("file.separator")
2
7794
* def outputpath = db.outputpath()
1
7795
* eval db.ensureDirectory(outputpath)
2
7796
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
7797
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7798
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7799
Given path 'geonetwork/srv/dut/inspire'
1
7800
And param service = 'CSW'
0
7801
And param version = '2.0.2'
0
7802
And param request = 'GetRecordById'
0
7803
And param id = '30f65c89-2246-49f8-8b50-0f1140d6f2aa'
1
7804
And param elementsetname = 'full'
0
7805
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7806
When method get
2204
7807
Then status 200
0
7808
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '30f65c89-2246-49f8-8b50-0f1140d6f2aa'
2
7809
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7810
* def title = get response //citation/CI_Citation/title/CharacterString
1
7811
* def email = get response //electronicMailAddress/CharacterString
1
7812
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7813
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7814
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7815
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7816
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7817
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7818
* print organisationpath
0
09:37:22.396 [print] Beheer PDOK
7819
* print operateson
0
09:37:22.396 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification
7820
* eval db.writeln('"30f65c89-2246-49f8-8b50-0f1140d6f2aa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
7821
* eval db.writeln('"30f65c89-2246-49f8-8b50-0f1140d6f2aa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.238:18]74620aa8-4fa2-414d-8350-50d93e500da8
ms: 2650
>>
Background:
7822
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
7823
* def mystorage = Java.type('storage.DataStorage')
1
7824
* def db = new mystorage
6
7825
* def db = db.setfeature(karate.info.featureFileName)
4
7826
* def separator = java.lang.System.getProperty("file.separator")
2
7827
* def outputpath = db.outputpath()
1
7828
* eval db.ensureDirectory(outputpath)
2
7829
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
7830
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7831
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7832
Given path 'geonetwork/srv/dut/inspire'
0
7833
And param service = 'CSW'
0
7834
And param version = '2.0.2'
0
7835
And param request = 'GetRecordById'
0
7836
And param id = '74620aa8-4fa2-414d-8350-50d93e500da8'
0
7837
And param elementsetname = 'full'
0
7838
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7839
When method get
2640
7840
Then status 200
0
7841
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '74620aa8-4fa2-414d-8350-50d93e500da8'
1
7842
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7843
* def title = get response //citation/CI_Citation/title/CharacterString
0
7844
* def email = get response //electronicMailAddress/CharacterString
0
7845
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7846
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7847
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7848
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
7849
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7850
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7851
* print organisationpath
0
09:37:22.854 [print]
7852
* print operateson
0
09:37:22.855 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=50eef6be-619d-4e16-9b92-48971109b636#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=8de2f5eb-b09f-4f6d-8397-8878a1b86238#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf36#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf9#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf38#MD_DataIdentification" ]
7853
* eval db.writeln('"74620aa8-4fa2-414d-8350-50d93e500da8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
7854
* eval db.writeln('"74620aa8-4fa2-414d-8350-50d93e500da8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.239:18]ff9315c8-f25a-4d01-9245-5cf058314ebf
ms: 2671
>>
Background:
7855
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
7856
* def mystorage = Java.type('storage.DataStorage')
1
7857
* def db = new mystorage
6
7858
* def db = db.setfeature(karate.info.featureFileName)
4
7859
* def separator = java.lang.System.getProperty("file.separator")
2
7860
* def outputpath = db.outputpath()
1
7861
* eval db.ensureDirectory(outputpath)
2
7862
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
7863
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7864
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7865
Given path 'geonetwork/srv/dut/inspire'
0
7866
And param service = 'CSW'
0
7867
And param version = '2.0.2'
0
7868
And param request = 'GetRecordById'
0
7869
And param id = 'ff9315c8-f25a-4d01-9245-5cf058314ebf'
1
7870
And param elementsetname = 'full'
0
7871
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7872
When method get
2661
7873
Then status 200
0
7874
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ff9315c8-f25a-4d01-9245-5cf058314ebf'
2
7875
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7876
* def title = get response //citation/CI_Citation/title/CharacterString
0
7877
* def email = get response //electronicMailAddress/CharacterString
0
7878
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7879
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7880
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7881
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7882
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7883
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7884
* print organisationpath
0
09:37:23.051 [print] Beheer PDOK
7885
* print operateson
0
09:37:23.051 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a29917b9-3426-4041-a11b-69bcb2256904&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
7886
* eval db.writeln('"ff9315c8-f25a-4d01-9245-5cf058314ebf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
7887
* eval db.writeln('"ff9315c8-f25a-4d01-9245-5cf058314ebf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.240:18]e222648d-d19e-4a99-a67d-2af1c9aabd75
ms: 2393
>>
Background:
7888
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
7889
* def mystorage = Java.type('storage.DataStorage')
1
7890
* def db = new mystorage
6
7891
* def db = db.setfeature(karate.info.featureFileName)
4
7892
* def separator = java.lang.System.getProperty("file.separator")
2
7893
* def outputpath = db.outputpath()
1
7894
* eval db.ensureDirectory(outputpath)
2
7895
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
7896
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7897
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7898
Given path 'geonetwork/srv/dut/inspire'
0
7899
And param service = 'CSW'
0
7900
And param version = '2.0.2'
0
7901
And param request = 'GetRecordById'
0
7902
And param id = 'e222648d-d19e-4a99-a67d-2af1c9aabd75'
0
7903
And param elementsetname = 'full'
0
7904
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7905
When method get
2382
7906
Then status 200
0
7907
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e222648d-d19e-4a99-a67d-2af1c9aabd75'
2
7908
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7909
* def title = get response //citation/CI_Citation/title/CharacterString
0
7910
* def email = get response //electronicMailAddress/CharacterString
1
7911
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7912
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7913
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7914
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7915
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7916
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7917
* print organisationpath
0
09:37:22.994 [print]
7918
* print operateson
0
09:37:22.994 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification
7919
* eval db.writeln('"e222648d-d19e-4a99-a67d-2af1c9aabd75","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
7920
* eval db.writeln('"e222648d-d19e-4a99-a67d-2af1c9aabd75","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.241:18]bf56537a-dce6-11e3-82c1-901b0e19e163
ms: 2789
>>
Background:
7921
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
7922
* def mystorage = Java.type('storage.DataStorage')
1
7923
* def db = new mystorage
6
7924
* def db = db.setfeature(karate.info.featureFileName)
4
7925
* def separator = java.lang.System.getProperty("file.separator")
2
7926
* def outputpath = db.outputpath()
1
7927
* eval db.ensureDirectory(outputpath)
2
7928
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
7929
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7930
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7931
Given path 'geonetwork/srv/dut/inspire'
0
7932
And param service = 'CSW'
0
7933
And param version = '2.0.2'
0
7934
And param request = 'GetRecordById'
0
7935
And param id = 'bf56537a-dce6-11e3-82c1-901b0e19e163'
1
7936
And param elementsetname = 'full'
0
7937
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7938
When method get
2769
7939
Then status 200
0
7940
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bf56537a-dce6-11e3-82c1-901b0e19e163'
1
7941
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7942
* def title = get response //citation/CI_Citation/title/CharacterString
1
7943
* def email = get response //electronicMailAddress/CharacterString
10
7944
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7945
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7946
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7947
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7948
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7949
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7950
* print organisationpath
0
09:37:23.534 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI)
7951
* print operateson
0
09:37:23.534 [print] http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=daa63e4c-dce6-11e3-991e-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
7952
* eval db.writeln('"bf56537a-dce6-11e3-82c1-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
7953
* eval db.writeln('"bf56537a-dce6-11e3-82c1-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.242:18]1b9259fc-dc35-11e3-961c-901b0e19e163
ms: 1876
>>
Background:
7954
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
7955
* def mystorage = Java.type('storage.DataStorage')
1
7956
* def db = new mystorage
6
7957
* def db = db.setfeature(karate.info.featureFileName)
4
7958
* def separator = java.lang.System.getProperty("file.separator")
2
7959
* def outputpath = db.outputpath()
1
7960
* eval db.ensureDirectory(outputpath)
2
7961
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
7962
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7963
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7964
Given path 'geonetwork/srv/dut/inspire'
0
7965
And param service = 'CSW'
0
7966
And param version = '2.0.2'
0
7967
And param request = 'GetRecordById'
0
7968
And param id = '1b9259fc-dc35-11e3-961c-901b0e19e163'
1
7969
And param elementsetname = 'full'
0
7970
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7971
When method get
1862
7972
Then status 200
0
7973
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1b9259fc-dc35-11e3-961c-901b0e19e163'
2
7974
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7975
* def title = get response //citation/CI_Citation/title/CharacterString
1
7976
* def email = get response //electronicMailAddress/CharacterString
1
7977
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7978
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
7979
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
7980
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
7981
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
7982
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7983
* print organisationpath
0
09:37:22.680 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI)
7984
* print operateson
0
09:37:22.680 [print] http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=64c987ec-dce6-11e3-8563-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
7985
* eval db.writeln('"1b9259fc-dc35-11e3-961c-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
7986
* eval db.writeln('"1b9259fc-dc35-11e3-961c-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.243:18]49ff0584-a173-4098-824c-119edf8447f7
ms: 2194
>>
Background:
7987
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
7988
* def mystorage = Java.type('storage.DataStorage')
1
7989
* def db = new mystorage
6
7990
* def db = db.setfeature(karate.info.featureFileName)
4
7991
* def separator = java.lang.System.getProperty("file.separator")
2
7992
* def outputpath = db.outputpath()
1
7993
* eval db.ensureDirectory(outputpath)
2
7994
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
7995
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
7996
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
7997
Given path 'geonetwork/srv/dut/inspire'
0
7998
And param service = 'CSW'
0
7999
And param version = '2.0.2'
0
8000
And param request = 'GetRecordById'
0
8001
And param id = '49ff0584-a173-4098-824c-119edf8447f7'
0
8002
And param elementsetname = 'full'
0
8003
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8004
When method get
2185
8005
Then status 200
0
8006
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '49ff0584-a173-4098-824c-119edf8447f7'
1
8007
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8008
* def title = get response //citation/CI_Citation/title/CharacterString
0
8009
* def email = get response //electronicMailAddress/CharacterString
0
8010
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8011
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8012
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8013
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8014
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8015
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8016
* print organisationpath
0
09:37:23.018 [print] Rijksdienst voor het Cultureel Erfgoed
8017
* print operateson
0
09:37:23.018 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=6f84efeb-fc1d-4565-a721-80735ea57dbd&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=dfe5b146-354f-4bc7-99b1-6713817afac9&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=4e2ef670-cddd-11dd-ad8b-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88a3c1ae-902e-4efa-8663-ddd836101929&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full" ]
8018
* eval db.writeln('"49ff0584-a173-4098-824c-119edf8447f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
8019
* eval db.writeln('"49ff0584-a173-4098-824c-119edf8447f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.244:18]73914696-dc43-11e3-bdbb-901b0e19e163
ms: 2259
>>
Background:
8020
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
8021
* def mystorage = Java.type('storage.DataStorage')
1
8022
* def db = new mystorage
6
8023
* def db = db.setfeature(karate.info.featureFileName)
4
8024
* def separator = java.lang.System.getProperty("file.separator")
2
8025
* def outputpath = db.outputpath()
1
8026
* eval db.ensureDirectory(outputpath)
2
8027
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
8028
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8029
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8030
Given path 'geonetwork/srv/dut/inspire'
0
8031
And param service = 'CSW'
0
8032
And param version = '2.0.2'
0
8033
And param request = 'GetRecordById'
0
8034
And param id = '73914696-dc43-11e3-bdbb-901b0e19e163'
0
8035
And param elementsetname = 'full'
0
8036
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8037
When method get
2250
8038
Then status 200
0
8039
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '73914696-dc43-11e3-bdbb-901b0e19e163'
1
8040
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8041
* def title = get response //citation/CI_Citation/title/CharacterString
0
8042
* def email = get response //electronicMailAddress/CharacterString
0
8043
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8044
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8045
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8046
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8047
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8048
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8049
* print organisationpath
0
09:37:23.332 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI)
8050
* print operateson
0
09:37:23.332 [print] http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=b59f06c0-dce5-11e3-9c10-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
8051
* eval db.writeln('"73914696-dc43-11e3-bdbb-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
8052
* eval db.writeln('"73914696-dc43-11e3-bdbb-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.245:18]6bd9f72e-dcd2-11e3-ab0a-901b0e19e163
ms: 2327
>>
Background:
8053
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
8054
* def mystorage = Java.type('storage.DataStorage')
1
8055
* def db = new mystorage
6
8056
* def db = db.setfeature(karate.info.featureFileName)
4
8057
* def separator = java.lang.System.getProperty("file.separator")
2
8058
* def outputpath = db.outputpath()
1
8059
* eval db.ensureDirectory(outputpath)
2
8060
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
8061
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8062
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8063
Given path 'geonetwork/srv/dut/inspire'
1
8064
And param service = 'CSW'
0
8065
And param version = '2.0.2'
0
8066
And param request = 'GetRecordById'
0
8067
And param id = '6bd9f72e-dcd2-11e3-ab0a-901b0e19e163'
0
8068
And param elementsetname = 'full'
0
8069
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8070
When method get
2304
8071
Then status 200
0
8072
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6bd9f72e-dcd2-11e3-ab0a-901b0e19e163'
5
8073
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8074
* def title = get response //citation/CI_Citation/title/CharacterString
1
8075
* def email = get response //electronicMailAddress/CharacterString
1
8076
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8077
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8078
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8079
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8080
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8081
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8082
* print organisationpath
0
09:37:23.527 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI)
8083
* print operateson
0
09:37:23.527 [print] http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=380aa01e-dce7-11e3-9f07-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
8084
* eval db.writeln('"6bd9f72e-dcd2-11e3-ab0a-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
8085
* eval db.writeln('"6bd9f72e-dcd2-11e3-ab0a-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
10
Scenario Outline: [1.246:18]8abcd2d1-3beb-43e5-a572-2b2da05a0a98
ms: 2051
>>
Background:
8086
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
8087
* def mystorage = Java.type('storage.DataStorage')
1
8088
* def db = new mystorage
6
8089
* def db = db.setfeature(karate.info.featureFileName)
4
8090
* def separator = java.lang.System.getProperty("file.separator")
2
8091
* def outputpath = db.outputpath()
1
8092
* eval db.ensureDirectory(outputpath)
2
8093
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
8094
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8095
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8096
Given path 'geonetwork/srv/dut/inspire'
11
8097
And param service = 'CSW'
0
8098
And param version = '2.0.2'
0
8099
And param request = 'GetRecordById'
0
8100
And param id = '8abcd2d1-3beb-43e5-a572-2b2da05a0a98'
1
8101
And param elementsetname = 'full'
0
8102
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8103
When method get
2029
8104
Then status 200
0
8105
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8abcd2d1-3beb-43e5-a572-2b2da05a0a98'
1
8106
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8107
* def title = get response //citation/CI_Citation/title/CharacterString
0
8108
* def email = get response //electronicMailAddress/CharacterString
1
8109
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8110
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8111
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8112
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8113
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8114
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8115
* print organisationpath
0
09:37:23.273 [print] Beheer PDOK
8116
* print operateson
0
09:37:23.273 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=710c381c-ab2d-45d5-a45d-af2eba811e5f#MD_DataIdentification
8117
* eval db.writeln('"8abcd2d1-3beb-43e5-a572-2b2da05a0a98","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
8118
* eval db.writeln('"8abcd2d1-3beb-43e5-a572-2b2da05a0a98","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.247:18]fff9d7cf-9929-4dde-98b8-06ceda7e5610
ms: 2015
>>
Background:
8119
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
8120
* def mystorage = Java.type('storage.DataStorage')
1
8121
* def db = new mystorage
6
8122
* def db = db.setfeature(karate.info.featureFileName)
4
8123
* def separator = java.lang.System.getProperty("file.separator")
2
8124
* def outputpath = db.outputpath()
1
8125
* eval db.ensureDirectory(outputpath)
2
8126
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
8127
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8128
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8129
Given path 'geonetwork/srv/dut/inspire'
1
8130
And param service = 'CSW'
0
8131
And param version = '2.0.2'
0
8132
And param request = 'GetRecordById'
0
8133
And param id = 'fff9d7cf-9929-4dde-98b8-06ceda7e5610'
0
8134
And param elementsetname = 'full'
0
8135
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8136
When method get
2003
8137
Then status 200
0
8138
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fff9d7cf-9929-4dde-98b8-06ceda7e5610'
1
8139
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8140
* def title = get response //citation/CI_Citation/title/CharacterString
1
8141
* def email = get response //electronicMailAddress/CharacterString
0
8142
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8143
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8144
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8145
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8146
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8147
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8148
* print organisationpath
0
09:37:23.367 [print] Beheer PDOK
8149
* print operateson
0
09:37:23.367 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=7939fd42-cf88-42c5-ab3b-232cf232a3ac#MD_DataIdentification
8150
* eval db.writeln('"fff9d7cf-9929-4dde-98b8-06ceda7e5610","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
8151
* eval db.writeln('"fff9d7cf-9929-4dde-98b8-06ceda7e5610","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.248:18]ee543323-0fe4-4353-9161-eda61ff26c07
ms: 2622
>>
Background:
8152
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
8153
* def mystorage = Java.type('storage.DataStorage')
1
8154
* def db = new mystorage
6
8155
* def db = db.setfeature(karate.info.featureFileName)
4
8156
* def separator = java.lang.System.getProperty("file.separator")
2
8157
* def outputpath = db.outputpath()
1
8158
* eval db.ensureDirectory(outputpath)
2
8159
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
8160
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8161
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8162
Given path 'geonetwork/srv/dut/inspire'
0
8163
And param service = 'CSW'
0
8164
And param version = '2.0.2'
0
8165
And param request = 'GetRecordById'
0
8166
And param id = 'ee543323-0fe4-4353-9161-eda61ff26c07'
0
8167
And param elementsetname = 'full'
0
8168
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8169
When method get
2612
8170
Then status 200
0
8171
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ee543323-0fe4-4353-9161-eda61ff26c07'
1
8172
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8173
* def title = get response //citation/CI_Citation/title/CharacterString
0
8174
* def email = get response //electronicMailAddress/CharacterString
0
8175
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8176
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8177
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8178
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8179
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8180
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8181
* print organisationpath
0
09:37:24.016 [print] Beheer PDOK
8182
* print operateson
0
09:37:24.016 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3373be8c-8539-4763-bc22-eba23ac1898f#MD_DataIdentification
8183
* eval db.writeln('"ee543323-0fe4-4353-9161-eda61ff26c07","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
8184
* eval db.writeln('"ee543323-0fe4-4353-9161-eda61ff26c07","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.249:18]d467c2cc-4026-b80a-d4e1a9d2bf79
ms: 2193
>>
Background:
8185
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
8186
* def mystorage = Java.type('storage.DataStorage')
1
8187
* def db = new mystorage
6
8188
* def db = db.setfeature(karate.info.featureFileName)
4
8189
* def separator = java.lang.System.getProperty("file.separator")
2
8190
* def outputpath = db.outputpath()
1
8191
* eval db.ensureDirectory(outputpath)
2
8192
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
8193
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8194
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8195
Given path 'geonetwork/srv/dut/inspire'
0
8196
And param service = 'CSW'
0
8197
And param version = '2.0.2'
0
8198
And param request = 'GetRecordById'
0
8199
And param id = 'd467c2cc-4026-b80a-d4e1a9d2bf79'
0
8200
And param elementsetname = 'full'
0
8201
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8202
When method get
2181
8203
Then status 200
0
8204
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd467c2cc-4026-b80a-d4e1a9d2bf79'
2
8205
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8206
* def title = get response //citation/CI_Citation/title/CharacterString
0
8207
* def email = get response //electronicMailAddress/CharacterString
0
8208
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8209
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8210
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8211
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8212
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
8213
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8214
* print organisationpath
0
09:37:23.689 [print] Beheer PDOK
8215
* print operateson
0
09:37:23.689 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification
8216
* eval db.writeln('"d467c2cc-4026-b80a-d4e1a9d2bf79","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
8217
* eval db.writeln('"d467c2cc-4026-b80a-d4e1a9d2bf79","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.250:18]dda53ebc-bee7-4765-8f1f-6ac59b0aec39
ms: 2174
>>
Background:
8218
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
8219
* def mystorage = Java.type('storage.DataStorage')
1
8220
* def db = new mystorage
6
8221
* def db = db.setfeature(karate.info.featureFileName)
4
8222
* def separator = java.lang.System.getProperty("file.separator")
2
8223
* def outputpath = db.outputpath()
1
8224
* eval db.ensureDirectory(outputpath)
2
8225
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
8226
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8227
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8228
Given path 'geonetwork/srv/dut/inspire'
3
8229
And param service = 'CSW'
0
8230
And param version = '2.0.2'
0
8231
And param request = 'GetRecordById'
0
8232
And param id = 'dda53ebc-bee7-4765-8f1f-6ac59b0aec39'
3
8233
And param elementsetname = 'full'
0
8234
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8235
When method get
2159
8236
Then status 200
0
8237
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dda53ebc-bee7-4765-8f1f-6ac59b0aec39'
2
8238
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8239
* def title = get response //citation/CI_Citation/title/CharacterString
0
8240
* def email = get response //electronicMailAddress/CharacterString
0
8241
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8242
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8243
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8244
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8245
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8246
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8247
* print organisationpath
0
09:37:23.773 [print] TNO Geologische Dienst Nederland
8248
* print operateson
0
09:37:23.773 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=9dd9bf30-36e6-45ae-b368-bdef2720bdde&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
8249
* eval db.writeln('"dda53ebc-bee7-4765-8f1f-6ac59b0aec39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
8250
* eval db.writeln('"dda53ebc-bee7-4765-8f1f-6ac59b0aec39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.251:18]9c4862c3-0bab-49c3-bc2f-ac5486826766
ms: 2357
>>
Background:
8251
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
8252
* def mystorage = Java.type('storage.DataStorage')
1
8253
* def db = new mystorage
6
8254
* def db = db.setfeature(karate.info.featureFileName)
4
8255
* def separator = java.lang.System.getProperty("file.separator")
2
8256
* def outputpath = db.outputpath()
1
8257
* eval db.ensureDirectory(outputpath)
2
8258
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
8259
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8260
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8261
Given path 'geonetwork/srv/dut/inspire'
0
8262
And param service = 'CSW'
0
8263
And param version = '2.0.2'
0
8264
And param request = 'GetRecordById'
0
8265
And param id = '9c4862c3-0bab-49c3-bc2f-ac5486826766'
0
8266
And param elementsetname = 'full'
0
8267
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8268
When method get
2323
8269
Then status 200
0
8270
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9c4862c3-0bab-49c3-bc2f-ac5486826766'
4
8271
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
3
8272
* def title = get response //citation/CI_Citation/title/CharacterString
3
8273
* def email = get response //electronicMailAddress/CharacterString
4
8274
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
3
8275
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
2
8276
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
2
8277
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
8278
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
8279
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
3
8280
* print organisationpath
0
09:37:23.957 [print] Beheer PDOK
8281
* print operateson
0
09:37:23.957 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=28c4780a-1a44-4376-b283-14a50a481729#MD_DataIdentification
8282
* eval db.writeln('"9c4862c3-0bab-49c3-bc2f-ac5486826766","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
8283
* eval db.writeln('"9c4862c3-0bab-49c3-bc2f-ac5486826766","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.252:18]adn573b0-bd3b-4d7b-a97d-e65841e6e0b2
ms: 2231
>>
Background:
8284
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
8285
* def mystorage = Java.type('storage.DataStorage')
1
8286
* def db = new mystorage
6
8287
* def db = db.setfeature(karate.info.featureFileName)
4
8288
* def separator = java.lang.System.getProperty("file.separator")
2
8289
* def outputpath = db.outputpath()
1
8290
* eval db.ensureDirectory(outputpath)
2
8291
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
8292
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8293
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8294
Given path 'geonetwork/srv/dut/inspire'
1
8295
And param service = 'CSW'
0
8296
And param version = '2.0.2'
0
8297
And param request = 'GetRecordById'
0
8298
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b2'
1
8299
And param elementsetname = 'full'
0
8300
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8301
When method get
2221
8302
Then status 200
0
8303
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b2'
1
8304
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8305
* def title = get response //citation/CI_Citation/title/CharacterString
0
8306
* def email = get response //electronicMailAddress/CharacterString
0
8307
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8308
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8309
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8310
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8311
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8312
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8313
* print organisationpath
0
09:37:23.992 [print] Rijkswaterstaat
8314
* print operateson
0
09:37:23.992 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=adn73c4a-ef03-4785-b7f6-942e86b385f7#MD_DataIdentification
8315
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
8316
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.253:18]5bb85b77-fffd-449b-bd61-f076fe07cc4b
ms: 2128
>>
Background:
8317
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
8318
* def mystorage = Java.type('storage.DataStorage')
1
8319
* def db = new mystorage
6
8320
* def db = db.setfeature(karate.info.featureFileName)
4
8321
* def separator = java.lang.System.getProperty("file.separator")
2
8322
* def outputpath = db.outputpath()
1
8323
* eval db.ensureDirectory(outputpath)
2
8324
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
8325
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8326
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8327
Given path 'geonetwork/srv/dut/inspire'
1
8328
And param service = 'CSW'
0
8329
And param version = '2.0.2'
0
8330
And param request = 'GetRecordById'
0
8331
And param id = '5bb85b77-fffd-449b-bd61-f076fe07cc4b'
0
8332
And param elementsetname = 'full'
0
8333
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8334
When method get
2117
8335
Then status 200
0
8336
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5bb85b77-fffd-449b-bd61-f076fe07cc4b'
2
8337
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8338
* def title = get response //citation/CI_Citation/title/CharacterString
0
8339
* def email = get response //electronicMailAddress/CharacterString
0
8340
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8341
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8342
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8343
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8344
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8345
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8346
* print organisationpath
0
09:37:24.117 [print] Beheer PDOK
8347
* print operateson
0
09:37:24.117 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6c06740d-058f-4a12-bb3f-bf68efd03d09#MD_DataIdentification
8348
* eval db.writeln('"5bb85b77-fffd-449b-bd61-f076fe07cc4b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
8349
* eval db.writeln('"5bb85b77-fffd-449b-bd61-f076fe07cc4b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.254:18]a299a4af-ccd8-4d32-b1fb-ffab77b32e0e
ms: 2254
>>
Background:
8350
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
8351
* def mystorage = Java.type('storage.DataStorage')
1
8352
* def db = new mystorage
6
8353
* def db = db.setfeature(karate.info.featureFileName)
4
8354
* def separator = java.lang.System.getProperty("file.separator")
2
8355
* def outputpath = db.outputpath()
1
8356
* eval db.ensureDirectory(outputpath)
2
8357
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
8358
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8359
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8360
Given path 'geonetwork/srv/dut/inspire'
0
8361
And param service = 'CSW'
0
8362
And param version = '2.0.2'
0
8363
And param request = 'GetRecordById'
0
8364
And param id = 'a299a4af-ccd8-4d32-b1fb-ffab77b32e0e'
0
8365
And param elementsetname = 'full'
0
8366
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8367
When method get
2244
8368
Then status 200
0
8369
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a299a4af-ccd8-4d32-b1fb-ffab77b32e0e'
1
8370
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8371
* def title = get response //citation/CI_Citation/title/CharacterString
0
8372
* def email = get response //electronicMailAddress/CharacterString
0
8373
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8374
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8375
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8376
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8377
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8378
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8379
* print organisationpath
0
09:37:24.258 [print] TNO Geologische Dienst Nederland
8380
* print operateson
0
09:37:24.258 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=f99e915a-75e5-4c36-97f2-61eff692d85b&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
8381
* eval db.writeln('"a299a4af-ccd8-4d32-b1fb-ffab77b32e0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
8382
* eval db.writeln('"a299a4af-ccd8-4d32-b1fb-ffab77b32e0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.255:18]93a9571d-1754-47ee-a8f9-92633abfab3a
ms: 2203
>>
Background:
8383
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
8384
* def mystorage = Java.type('storage.DataStorage')
1
8385
* def db = new mystorage
6
8386
* def db = db.setfeature(karate.info.featureFileName)
4
8387
* def separator = java.lang.System.getProperty("file.separator")
2
8388
* def outputpath = db.outputpath()
1
8389
* eval db.ensureDirectory(outputpath)
2
8390
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
8391
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8392
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8393
Given path 'geonetwork/srv/dut/inspire'
0
8394
And param service = 'CSW'
0
8395
And param version = '2.0.2'
0
8396
And param request = 'GetRecordById'
0
8397
And param id = '93a9571d-1754-47ee-a8f9-92633abfab3a'
0
8398
And param elementsetname = 'full'
0
8399
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8400
When method get
2193
8401
Then status 200
0
8402
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '93a9571d-1754-47ee-a8f9-92633abfab3a'
1
8403
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8404
* def title = get response //citation/CI_Citation/title/CharacterString
0
8405
* def email = get response //electronicMailAddress/CharacterString
0
8406
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8407
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8408
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8409
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8410
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8411
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8412
* print organisationpath
0
09:37:24.211 [print]
8413
* print operateson
0
09:37:24.211 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=3703b249-a0eb-484e-ba7a-10e31a55bcec&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
8414
* eval db.writeln('"93a9571d-1754-47ee-a8f9-92633abfab3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
8415
* eval db.writeln('"93a9571d-1754-47ee-a8f9-92633abfab3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.256:18]6b608d4e-5628-4d59-97fc-0322c57357b2
ms: 1759
>>
Background:
8416
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
8417
* def mystorage = Java.type('storage.DataStorage')
1
8418
* def db = new mystorage
6
8419
* def db = db.setfeature(karate.info.featureFileName)
4
8420
* def separator = java.lang.System.getProperty("file.separator")
2
8421
* def outputpath = db.outputpath()
1
8422
* eval db.ensureDirectory(outputpath)
2
8423
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
8424
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8425
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8426
Given path 'geonetwork/srv/dut/inspire'
5
8427
And param service = 'CSW'
0
8428
And param version = '2.0.2'
0
8429
And param request = 'GetRecordById'
0
8430
And param id = '6b608d4e-5628-4d59-97fc-0322c57357b2'
0
8431
And param elementsetname = 'full'
0
8432
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8433
When method get
1743
8434
Then status 200
0
8435
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6b608d4e-5628-4d59-97fc-0322c57357b2'
1
8436
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8437
* def title = get response //citation/CI_Citation/title/CharacterString
1
8438
* def email = get response //electronicMailAddress/CharacterString
1
8439
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8440
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8441
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
8442
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
8443
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8444
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8445
* print organisationpath
0
09:37:23.838 [print] Beheer PDOK
8446
* print operateson
0
09:37:23.838 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=fe0e1e5f-512f-4bb1-bbf8-4028d3dfa24f#MD_DataIdentification
8447
* eval db.writeln('"6b608d4e-5628-4d59-97fc-0322c57357b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
8448
* eval db.writeln('"6b608d4e-5628-4d59-97fc-0322c57357b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.257:18]77971fa3-f869-4726-969a-482e0b1a8c5d
ms: 2258
>>
Background:
8449
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
8450
* def mystorage = Java.type('storage.DataStorage')
1
8451
* def db = new mystorage
6
8452
* def db = db.setfeature(karate.info.featureFileName)
4
8453
* def separator = java.lang.System.getProperty("file.separator")
2
8454
* def outputpath = db.outputpath()
1
8455
* eval db.ensureDirectory(outputpath)
2
8456
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
8457
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8458
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8459
Given path 'geonetwork/srv/dut/inspire'
6
8460
And param service = 'CSW'
0
8461
And param version = '2.0.2'
0
8462
And param request = 'GetRecordById'
0
8463
And param id = '77971fa3-f869-4726-969a-482e0b1a8c5d'
0
8464
And param elementsetname = 'full'
0
8465
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8466
When method get
2242
8467
Then status 200
0
8468
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '77971fa3-f869-4726-969a-482e0b1a8c5d'
1
8469
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8470
* def title = get response //citation/CI_Citation/title/CharacterString
0
8471
* def email = get response //electronicMailAddress/CharacterString
0
8472
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8473
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8474
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8475
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
8476
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8477
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8478
* print organisationpath
0
09:37:24.338 [print] TNO Geologische Dienst Nederland
8479
* print operateson
0
09:37:24.338 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=80630ee7-3a15-4ea0-bdc0-a8aebfa2f204&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
8480
* eval db.writeln('"77971fa3-f869-4726-969a-482e0b1a8c5d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
8481
* eval db.writeln('"77971fa3-f869-4726-969a-482e0b1a8c5d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.258:18]1a8d5470-8c5e-477a-ab6b-4893b6d21ab6
ms: 2360
>>
Background:
8482
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
8483
* def mystorage = Java.type('storage.DataStorage')
1
8484
* def db = new mystorage
6
8485
* def db = db.setfeature(karate.info.featureFileName)
4
8486
* def separator = java.lang.System.getProperty("file.separator")
2
8487
* def outputpath = db.outputpath()
1
8488
* eval db.ensureDirectory(outputpath)
2
8489
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
8490
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8491
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8492
Given path 'geonetwork/srv/dut/inspire'
3
8493
And param service = 'CSW'
0
8494
And param version = '2.0.2'
0
8495
And param request = 'GetRecordById'
0
8496
And param id = '1a8d5470-8c5e-477a-ab6b-4893b6d21ab6'
1
8497
And param elementsetname = 'full'
0
8498
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8499
When method get
2349
8500
Then status 200
0
8501
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1a8d5470-8c5e-477a-ab6b-4893b6d21ab6'
1
8502
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8503
* def title = get response //citation/CI_Citation/title/CharacterString
0
8504
* def email = get response //electronicMailAddress/CharacterString
0
8505
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8506
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8507
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8508
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8509
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8510
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8511
* print organisationpath
0
09:37:24.455 [print] TNO Geologische Dienst Nederland
8512
* print operateson
0
09:37:24.456 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6c1cf452-8c62-4046-99ab-640a5e184f9c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
8513
* eval db.writeln('"1a8d5470-8c5e-477a-ab6b-4893b6d21ab6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
8514
* eval db.writeln('"1a8d5470-8c5e-477a-ab6b-4893b6d21ab6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.259:18]f20e948e-9e22-4b5a-96a1-f3cc1d16b808
ms: 1922
>>
Background:
8515
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
8516
* def mystorage = Java.type('storage.DataStorage')
1
8517
* def db = new mystorage
6
8518
* def db = db.setfeature(karate.info.featureFileName)
4
8519
* def separator = java.lang.System.getProperty("file.separator")
2
8520
* def outputpath = db.outputpath()
1
8521
* eval db.ensureDirectory(outputpath)
2
8522
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
8523
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8524
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8525
Given path 'geonetwork/srv/dut/inspire'
1
8526
And param service = 'CSW'
0
8527
And param version = '2.0.2'
0
8528
And param request = 'GetRecordById'
0
8529
And param id = 'f20e948e-9e22-4b5a-96a1-f3cc1d16b808'
1
8530
And param elementsetname = 'full'
0
8531
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8532
When method get
1911
8533
Then status 200
0
8534
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f20e948e-9e22-4b5a-96a1-f3cc1d16b808'
1
8535
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8536
* def title = get response //citation/CI_Citation/title/CharacterString
0
8537
* def email = get response //electronicMailAddress/CharacterString
1
8538
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8539
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8540
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8541
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
8542
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8543
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8544
* print organisationpath
0
09:37:24.320 [print] Beheer PDOK
8545
* print operateson
0
09:37:24.320 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5a1adb58-0bbe-425d-b0fe-577a6c0a4228#MD_DataIdentification
8546
* eval db.writeln('"f20e948e-9e22-4b5a-96a1-f3cc1d16b808","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
8547
* eval db.writeln('"f20e948e-9e22-4b5a-96a1-f3cc1d16b808","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.260:18]bfcc588f-9393-4c70-b989-d9e92ac2f493
ms: 2104
>>
Background:
8548
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
8549
* def mystorage = Java.type('storage.DataStorage')
1
8550
* def db = new mystorage
6
8551
* def db = db.setfeature(karate.info.featureFileName)
4
8552
* def separator = java.lang.System.getProperty("file.separator")
2
8553
* def outputpath = db.outputpath()
1
8554
* eval db.ensureDirectory(outputpath)
2
8555
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
8556
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8557
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8558
Given path 'geonetwork/srv/dut/inspire'
0
8559
And param service = 'CSW'
0
8560
And param version = '2.0.2'
0
8561
And param request = 'GetRecordById'
0
8562
And param id = 'bfcc588f-9393-4c70-b989-d9e92ac2f493'
0
8563
And param elementsetname = 'full'
0
8564
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8565
When method get
2092
8566
Then status 200
0
8567
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bfcc588f-9393-4c70-b989-d9e92ac2f493'
2
8568
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8569
* def title = get response //citation/CI_Citation/title/CharacterString
1
8570
* def email = get response //electronicMailAddress/CharacterString
1
8571
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8572
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8573
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8574
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8575
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8576
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8577
* print organisationpath
0
09:37:24.541 [print] Beheer PDOK
8578
* print operateson
0
09:37:24.541 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=41daef8b-155e-4608-b49c-c87ea45d931c#MD_DataIdentification
8579
* eval db.writeln('"bfcc588f-9393-4c70-b989-d9e92ac2f493","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
8580
* eval db.writeln('"bfcc588f-9393-4c70-b989-d9e92ac2f493","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.261:18]6d2fce74-fb25-4322-ab25-1be8a3bc7fd0
ms: 1921
>>
Background:
8581
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
8582
* def mystorage = Java.type('storage.DataStorage')
1
8583
* def db = new mystorage
6
8584
* def db = db.setfeature(karate.info.featureFileName)
4
8585
* def separator = java.lang.System.getProperty("file.separator")
2
8586
* def outputpath = db.outputpath()
1
8587
* eval db.ensureDirectory(outputpath)
2
8588
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
8589
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8590
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8591
Given path 'geonetwork/srv/dut/inspire'
0
8592
And param service = 'CSW'
0
8593
And param version = '2.0.2'
0
8594
And param request = 'GetRecordById'
0
8595
And param id = '6d2fce74-fb25-4322-ab25-1be8a3bc7fd0'
0
8596
And param elementsetname = 'full'
0
8597
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8598
When method get
1910
8599
Then status 200
0
8600
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6d2fce74-fb25-4322-ab25-1be8a3bc7fd0'
2
8601
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8602
* def title = get response //citation/CI_Citation/title/CharacterString
0
8603
* def email = get response //electronicMailAddress/CharacterString
0
8604
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8605
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8606
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8607
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8608
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8609
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8610
* print organisationpath
0
09:37:24.570 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
8611
* print operateson
0
09:37:24.570 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a322184d-6285-4856-bb78-f450b30ffc0e#MD_DataIdentification
8612
* eval db.writeln('"6d2fce74-fb25-4322-ab25-1be8a3bc7fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
8613
* eval db.writeln('"6d2fce74-fb25-4322-ab25-1be8a3bc7fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.262:18]adn573b0-bd3b-4d7b-a97d-e65841e6e0b1
ms: 1951
>>
Background:
8614
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
8615
* def mystorage = Java.type('storage.DataStorage')
1
8616
* def db = new mystorage
6
8617
* def db = db.setfeature(karate.info.featureFileName)
4
8618
* def separator = java.lang.System.getProperty("file.separator")
2
8619
* def outputpath = db.outputpath()
1
8620
* eval db.ensureDirectory(outputpath)
2
8621
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
8622
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8623
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8624
Given path 'geonetwork/srv/dut/inspire'
1
8625
And param service = 'CSW'
0
8626
And param version = '2.0.2'
0
8627
And param request = 'GetRecordById'
0
8628
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b1'
0
8629
And param elementsetname = 'full'
0
8630
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8631
When method get
1911
8632
Then status 200
0
8633
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b1'
1
8634
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
3
8635
* def title = get response //citation/CI_Citation/title/CharacterString
0
8636
* def email = get response //electronicMailAddress/CharacterString
1
8637
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8638
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8639
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
8640
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8641
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
20
8642
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8643
* print organisationpath
0
09:37:24.625 [print] Rijkswaterstaat
8644
* print operateson
0
09:37:24.625 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=adn73c4a-ef03-4785-b7f6-942e86b385f5#MD_DataIdentification
8645
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
6
8646
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.263:18]49a53bc1-dd76-417f-b9af-066901ddfec0
ms: 1930
>>
Background:
8647
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
8648
* def mystorage = Java.type('storage.DataStorage')
1
8649
* def db = new mystorage
6
8650
* def db = db.setfeature(karate.info.featureFileName)
4
8651
* def separator = java.lang.System.getProperty("file.separator")
2
8652
* def outputpath = db.outputpath()
1
8653
* eval db.ensureDirectory(outputpath)
2
8654
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
8655
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8656
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8657
Given path 'geonetwork/srv/dut/inspire'
1
8658
And param service = 'CSW'
0
8659
And param version = '2.0.2'
0
8660
And param request = 'GetRecordById'
0
8661
And param id = '49a53bc1-dd76-417f-b9af-066901ddfec0'
0
8662
And param elementsetname = 'full'
0
8663
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8664
When method get
1911
8665
Then status 200
0
8666
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '49a53bc1-dd76-417f-b9af-066901ddfec0'
2
8667
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8668
* def title = get response //citation/CI_Citation/title/CharacterString
1
8669
* def email = get response //electronicMailAddress/CharacterString
0
8670
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8671
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8672
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8673
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8674
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8675
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8676
* print organisationpath
0
09:37:24.776 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
8677
* print operateson
0
09:37:24.776 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=be6551de-a709-4c6d-a5e2-f63f0cf038ba&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
8678
* eval db.writeln('"49a53bc1-dd76-417f-b9af-066901ddfec0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
8679
* eval db.writeln('"49a53bc1-dd76-417f-b9af-066901ddfec0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
10
Scenario Outline: [1.264:18]25c69c01-8dfa-406f-bbcb-24feba25dcc6
ms: 1716
>>
Background:
8680
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
8681
* def mystorage = Java.type('storage.DataStorage')
1
8682
* def db = new mystorage
6
8683
* def db = db.setfeature(karate.info.featureFileName)
4
8684
* def separator = java.lang.System.getProperty("file.separator")
2
8685
* def outputpath = db.outputpath()
1
8686
* eval db.ensureDirectory(outputpath)
2
8687
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
8688
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8689
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8690
Given path 'geonetwork/srv/dut/inspire'
1
8691
And param service = 'CSW'
0
8692
And param version = '2.0.2'
0
8693
And param request = 'GetRecordById'
0
8694
And param id = '25c69c01-8dfa-406f-bbcb-24feba25dcc6'
0
8695
And param elementsetname = 'full'
0
8696
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8697
When method get
1696
8698
Then status 200
0
8699
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '25c69c01-8dfa-406f-bbcb-24feba25dcc6'
2
8700
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8701
* def title = get response //citation/CI_Citation/title/CharacterString
1
8702
* def email = get response //electronicMailAddress/CharacterString
1
8703
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8704
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8705
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8706
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8707
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8708
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8709
* print organisationpath
8
09:37:24.710 [print] Beheer PDOK
8710
* print operateson
0
09:37:24.711 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=49ab8bee-b467-486a-96ca-b950443c453a#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f002bfc5-7d87-46b6-819e-8415422b65c9#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f0821bfe-5a0a-11e9-8647-d663bd873d93#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=60a2a7c2-d5b3-4ad5-b562-c448695357fb#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c7d8d77b-8c47-4309-8c58-9b12b086407f#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ca94a0cb-7561-4a10-a7d6-b840e56c33ff#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=998ba1dc-f6a6-49a3-a021-51f30d9b1d0e#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=49ab8bee-b467-486a-96ca-b950443c453a#MD_DataIdentification" ]
8711
* eval db.writeln('"25c69c01-8dfa-406f-bbcb-24feba25dcc6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
8712
* eval db.writeln('"25c69c01-8dfa-406f-bbcb-24feba25dcc6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.265:18]7e87a655-c4eb-404d-9d0a-efa2dccef7cc
ms: 1983
>>
Background:
8713
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
8714
* def mystorage = Java.type('storage.DataStorage')
1
8715
* def db = new mystorage
6
8716
* def db = db.setfeature(karate.info.featureFileName)
4
8717
* def separator = java.lang.System.getProperty("file.separator")
2
8718
* def outputpath = db.outputpath()
1
8719
* eval db.ensureDirectory(outputpath)
2
8720
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
8721
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8722
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8723
Given path 'geonetwork/srv/dut/inspire'
0
8724
And param service = 'CSW'
0
8725
And param version = '2.0.2'
0
8726
And param request = 'GetRecordById'
0
8727
And param id = '7e87a655-c4eb-404d-9d0a-efa2dccef7cc'
0
8728
And param elementsetname = 'full'
0
8729
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8730
When method get
1969
8731
Then status 200
0
8732
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7e87a655-c4eb-404d-9d0a-efa2dccef7cc'
5
8733
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8734
* def title = get response //citation/CI_Citation/title/CharacterString
0
8735
* def email = get response //electronicMailAddress/CharacterString
0
8736
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8737
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8738
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8739
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8740
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8741
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8742
* print organisationpath
0
09:37:25.001 [print] Beheer PDOK
8743
* print operateson
0
09:37:25.001 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification
8744
* eval db.writeln('"7e87a655-c4eb-404d-9d0a-efa2dccef7cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
8745
* eval db.writeln('"7e87a655-c4eb-404d-9d0a-efa2dccef7cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.266:18]d7a395a2-8673-4794-a5a6-fed6492cd580
ms: 2293
>>
Background:
8746
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
8747
* def mystorage = Java.type('storage.DataStorage')
1
8748
* def db = new mystorage
6
8749
* def db = db.setfeature(karate.info.featureFileName)
4
8750
* def separator = java.lang.System.getProperty("file.separator")
2
8751
* def outputpath = db.outputpath()
1
8752
* eval db.ensureDirectory(outputpath)
2
8753
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
8754
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8755
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8756
Given path 'geonetwork/srv/dut/inspire'
1
8757
And param service = 'CSW'
0
8758
And param version = '2.0.2'
0
8759
And param request = 'GetRecordById'
0
8760
And param id = 'd7a395a2-8673-4794-a5a6-fed6492cd580'
3
8761
And param elementsetname = 'full'
0
8762
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8763
When method get
2278
8764
Then status 200
0
8765
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd7a395a2-8673-4794-a5a6-fed6492cd580'
1
8766
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8767
* def title = get response //citation/CI_Citation/title/CharacterString
1
8768
* def email = get response //electronicMailAddress/CharacterString
1
8769
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8770
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8771
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8772
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8773
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
8774
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8775
* print organisationpath
0
09:37:25.345 [print] Beheer PDOK
8776
* print operateson
0
09:37:25.345 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1be28290-55fa-4486-b9d3-b9d147117863#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=7c24ea89-074e-4c4f-91e3-d38e813e9cb6#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=7f5d7945-8fa8-4d36-be4c-2fdb3c7d613b#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9ed6b8ed-254a-4745-a09a-3b57137d1b69#MD_DataIdentification" ]
8777
* eval db.writeln('"d7a395a2-8673-4794-a5a6-fed6492cd580","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
8778
* eval db.writeln('"d7a395a2-8673-4794-a5a6-fed6492cd580","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.267:18]a301ddc7-c26f-42d8-b367-509ae5ae47d0
ms: 2367
>>
Background:
8779
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
8780
* def mystorage = Java.type('storage.DataStorage')
1
8781
* def db = new mystorage
6
8782
* def db = db.setfeature(karate.info.featureFileName)
4
8783
* def separator = java.lang.System.getProperty("file.separator")
2
8784
* def outputpath = db.outputpath()
1
8785
* eval db.ensureDirectory(outputpath)
2
8786
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
8787
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8788
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8789
Given path 'geonetwork/srv/dut/inspire'
1
8790
And param service = 'CSW'
0
8791
And param version = '2.0.2'
0
8792
And param request = 'GetRecordById'
0
8793
And param id = 'a301ddc7-c26f-42d8-b367-509ae5ae47d0'
0
8794
And param elementsetname = 'full'
0
8795
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8796
When method get
2356
8797
Then status 200
0
8798
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a301ddc7-c26f-42d8-b367-509ae5ae47d0'
1
8799
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8800
* def title = get response //citation/CI_Citation/title/CharacterString
0
8801
* def email = get response //electronicMailAddress/CharacterString
0
8802
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8803
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8804
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8805
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8806
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8807
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8808
* print organisationpath
0
09:37:25.640 [print] Beheer PDOK
8809
* print operateson
0
09:37:25.640 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=74aca3eb-c38b-4214-9537-e0abc69e11b5#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5b274449-b6c2-4672-a32f-e0bd40975a53#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=df15af6e-0d21-4437-a69f-802be3479bba#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=64ff8561-5c56-4cc1-ae0e-94366fb70b7e#MD_DataIdentification" ]
8810
* eval db.writeln('"a301ddc7-c26f-42d8-b367-509ae5ae47d0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
8811
* eval db.writeln('"a301ddc7-c26f-42d8-b367-509ae5ae47d0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.268:18]ac3a9efe-2154-4a4c-aae3-ea269044945d
ms: 1949
>>
Background:
8812
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
8813
* def mystorage = Java.type('storage.DataStorage')
1
8814
* def db = new mystorage
6
8815
* def db = db.setfeature(karate.info.featureFileName)
4
8816
* def separator = java.lang.System.getProperty("file.separator")
2
8817
* def outputpath = db.outputpath()
1
8818
* eval db.ensureDirectory(outputpath)
2
8819
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
8820
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8821
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8822
Given path 'geonetwork/srv/dut/inspire'
1
8823
And param service = 'CSW'
0
8824
And param version = '2.0.2'
0
8825
And param request = 'GetRecordById'
0
8826
And param id = 'ac3a9efe-2154-4a4c-aae3-ea269044945d'
0
8827
And param elementsetname = 'full'
0
8828
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8829
When method get
1940
8830
Then status 200
0
8831
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ac3a9efe-2154-4a4c-aae3-ea269044945d'
1
8832
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8833
* def title = get response //citation/CI_Citation/title/CharacterString
0
8834
* def email = get response //electronicMailAddress/CharacterString
0
8835
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8836
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8837
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8838
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8839
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8840
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8841
* print organisationpath
0
09:37:25.282 [print]
8842
* print operateson
0
09:37:25.282 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ed960299-a147-4c1a-bc57-41ff83a2264f#MD_DataIdentification
8843
* eval db.writeln('"ac3a9efe-2154-4a4c-aae3-ea269044945d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
8844
* eval db.writeln('"ac3a9efe-2154-4a4c-aae3-ea269044945d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.269:18]18e052b6-dce6-11e3-9e6e-901b0e19e163
ms: 1961
>>
Background:
8845
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
8846
* def mystorage = Java.type('storage.DataStorage')
1
8847
* def db = new mystorage
6
8848
* def db = db.setfeature(karate.info.featureFileName)
4
8849
* def separator = java.lang.System.getProperty("file.separator")
2
8850
* def outputpath = db.outputpath()
1
8851
* eval db.ensureDirectory(outputpath)
2
8852
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
8853
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8854
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8855
Given path 'geonetwork/srv/dut/inspire'
1
8856
And param service = 'CSW'
0
8857
And param version = '2.0.2'
0
8858
And param request = 'GetRecordById'
0
8859
And param id = '18e052b6-dce6-11e3-9e6e-901b0e19e163'
1
8860
And param elementsetname = 'full'
0
8861
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8862
When method get
1945
8863
Then status 200
0
8864
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '18e052b6-dce6-11e3-9e6e-901b0e19e163'
2
8865
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8866
* def title = get response //citation/CI_Citation/title/CharacterString
0
8867
* def email = get response //electronicMailAddress/CharacterString
0
8868
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8869
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8870
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8871
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8872
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8873
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8874
* print organisationpath
0
09:37:25.324 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI)
8875
* print operateson
0
09:37:25.325 [print] [ "http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=b59f06c0-dce5-11e3-9c10-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=64c987ec-dce6-11e3-8563-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=daa63e4c-dce6-11e3-991e-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full", "http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=380aa01e-dce7-11e3-9f07-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full" ]
8876
* eval db.writeln('"18e052b6-dce6-11e3-9e6e-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
8877
* eval db.writeln('"18e052b6-dce6-11e3-9e6e-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
8
Scenario Outline: [1.270:18]4bb89277-6ebe-4e66-8929-cd275aa7fd81
ms: 1876
>>
Background:
8878
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
8879
* def mystorage = Java.type('storage.DataStorage')
1
8880
* def db = new mystorage
6
8881
* def db = db.setfeature(karate.info.featureFileName)
4
8882
* def separator = java.lang.System.getProperty("file.separator")
2
8883
* def outputpath = db.outputpath()
1
8884
* eval db.ensureDirectory(outputpath)
2
8885
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
8886
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8887
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8888
Given path 'geonetwork/srv/dut/inspire'
0
8889
And param service = 'CSW'
0
8890
And param version = '2.0.2'
0
8891
And param request = 'GetRecordById'
0
8892
And param id = '4bb89277-6ebe-4e66-8929-cd275aa7fd81'
2
8893
And param elementsetname = 'full'
0
8894
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8895
When method get
1866
8896
Then status 200
0
8897
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4bb89277-6ebe-4e66-8929-cd275aa7fd81'
1
8898
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8899
* def title = get response //citation/CI_Citation/title/CharacterString
0
8900
* def email = get response //electronicMailAddress/CharacterString
0
8901
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8902
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8903
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8904
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8905
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8906
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8907
* print organisationpath
0
09:37:25.411 [print] Beheer PDOK
8908
* print operateson
0
09:37:25.411 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76327507-4be4-4f2a-8d0a-83ec36656177#MD_DataIdentification
8909
* eval db.writeln('"4bb89277-6ebe-4e66-8929-cd275aa7fd81","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
8910
* eval db.writeln('"4bb89277-6ebe-4e66-8929-cd275aa7fd81","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.271:18]a7ed73f4-e16d-46a3-befa-603370cfb6e8
ms: 1942
>>
Background:
8911
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
8912
* def mystorage = Java.type('storage.DataStorage')
1
8913
* def db = new mystorage
6
8914
* def db = db.setfeature(karate.info.featureFileName)
4
8915
* def separator = java.lang.System.getProperty("file.separator")
2
8916
* def outputpath = db.outputpath()
1
8917
* eval db.ensureDirectory(outputpath)
2
8918
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
8919
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8920
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8921
Given path 'geonetwork/srv/dut/inspire'
2
8922
And param service = 'CSW'
0
8923
And param version = '2.0.2'
0
8924
And param request = 'GetRecordById'
0
8925
And param id = 'a7ed73f4-e16d-46a3-befa-603370cfb6e8'
0
8926
And param elementsetname = 'full'
0
8927
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8928
When method get
1931
8929
Then status 200
0
8930
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a7ed73f4-e16d-46a3-befa-603370cfb6e8'
1
8931
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8932
* def title = get response //citation/CI_Citation/title/CharacterString
0
8933
* def email = get response //electronicMailAddress/CharacterString
0
8934
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8935
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8936
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8937
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8938
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8939
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8940
* print organisationpath
0
09:37:25.478 [print] Beheer PDOK
8941
* print operateson
0
09:37:25.478 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=db8d613f-5edc-4467-9cc0-e2dcfb9d64a8#MD_DataIdentification
8942
* eval db.writeln('"a7ed73f4-e16d-46a3-befa-603370cfb6e8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
8943
* eval db.writeln('"a7ed73f4-e16d-46a3-befa-603370cfb6e8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.272:18]6d23a02b-5a8a-447e-a481-ddb2a085c1fa
ms: 1681
>>
Background:
8944
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
8945
* def mystorage = Java.type('storage.DataStorage')
1
8946
* def db = new mystorage
6
8947
* def db = db.setfeature(karate.info.featureFileName)
4
8948
* def separator = java.lang.System.getProperty("file.separator")
2
8949
* def outputpath = db.outputpath()
1
8950
* eval db.ensureDirectory(outputpath)
2
8951
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
8952
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8953
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8954
Given path 'geonetwork/srv/dut/inspire'
1
8955
And param service = 'CSW'
0
8956
And param version = '2.0.2'
0
8957
And param request = 'GetRecordById'
0
8958
And param id = '6d23a02b-5a8a-447e-a481-ddb2a085c1fa'
1
8959
And param elementsetname = 'full'
0
8960
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8961
When method get
1671
8962
Then status 200
0
8963
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6d23a02b-5a8a-447e-a481-ddb2a085c1fa'
1
8964
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8965
* def title = get response //citation/CI_Citation/title/CharacterString
1
8966
* def email = get response //electronicMailAddress/CharacterString
0
8967
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8968
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8969
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8970
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8971
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8972
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8973
* print organisationpath
0
09:37:25.371 [print] Beheer PDOK
8974
* print operateson
0
09:37:25.371 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3373be8c-8539-4763-bc22-eba23ac1898f#MD_DataIdentification
8975
* eval db.writeln('"6d23a02b-5a8a-447e-a481-ddb2a085c1fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
8976
* eval db.writeln('"6d23a02b-5a8a-447e-a481-ddb2a085c1fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.273:18]f1dadc2c-6de2-415a-a2b7-aaf057ddda43
ms: 1899
>>
Background:
8977
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
8978
* def mystorage = Java.type('storage.DataStorage')
1
8979
* def db = new mystorage
6
8980
* def db = db.setfeature(karate.info.featureFileName)
4
8981
* def separator = java.lang.System.getProperty("file.separator")
2
8982
* def outputpath = db.outputpath()
1
8983
* eval db.ensureDirectory(outputpath)
2
8984
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
8985
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
8986
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
8987
Given path 'geonetwork/srv/dut/inspire'
0
8988
And param service = 'CSW'
0
8989
And param version = '2.0.2'
0
8990
And param request = 'GetRecordById'
0
8991
And param id = 'f1dadc2c-6de2-415a-a2b7-aaf057ddda43'
0
8992
And param elementsetname = 'full'
0
8993
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8994
When method get
1889
8995
Then status 200
0
8996
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f1dadc2c-6de2-415a-a2b7-aaf057ddda43'
1
8997
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8998
* def title = get response //citation/CI_Citation/title/CharacterString
1
8999
* def email = get response //electronicMailAddress/CharacterString
0
9000
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9001
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9002
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9003
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9004
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9005
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9006
* print organisationpath
0
09:37:25.673 [print] Beheer PDOK
9007
* print operateson
0
09:37:25.673 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=76091be7-358a-4a44-8182-b4139c96c6a4#MD_DataIdentification
9008
* eval db.writeln('"f1dadc2c-6de2-415a-a2b7-aaf057ddda43","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9009
* eval db.writeln('"f1dadc2c-6de2-415a-a2b7-aaf057ddda43","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.274:18]018a28a5-1019-4747-b031-f66ffc1c6ae7
ms: 2230
>>
Background:
9010
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
9011
* def mystorage = Java.type('storage.DataStorage')
1
9012
* def db = new mystorage
6
9013
* def db = db.setfeature(karate.info.featureFileName)
4
9014
* def separator = java.lang.System.getProperty("file.separator")
2
9015
* def outputpath = db.outputpath()
1
9016
* eval db.ensureDirectory(outputpath)
2
9017
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
9018
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9019
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9020
Given path 'geonetwork/srv/dut/inspire'
1
9021
And param service = 'CSW'
0
9022
And param version = '2.0.2'
0
9023
And param request = 'GetRecordById'
0
9024
And param id = '018a28a5-1019-4747-b031-f66ffc1c6ae7'
0
9025
And param elementsetname = 'full'
0
9026
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9027
When method get
2219
9028
Then status 200
0
9029
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '018a28a5-1019-4747-b031-f66ffc1c6ae7'
2
9030
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9031
* def title = get response //citation/CI_Citation/title/CharacterString
1
9032
* def email = get response //electronicMailAddress/CharacterString
1
9033
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9034
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9035
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9036
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9037
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9038
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9039
* print organisationpath
0
09:37:26.069 [print] Beheer PDOK
9040
* print operateson
0
09:37:26.069 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-cb527d-f6db-4835-b0cd-deb245241254#MD_DataIdentification
9041
* eval db.writeln('"018a28a5-1019-4747-b031-f66ffc1c6ae7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
9042
* eval db.writeln('"018a28a5-1019-4747-b031-f66ffc1c6ae7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.275:18]abf1f9f0-1b85-40e8-86ec-86bee6003b4e
ms: 2017
>>
Background:
9043
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
9044
* def mystorage = Java.type('storage.DataStorage')
1
9045
* def db = new mystorage
6
9046
* def db = db.setfeature(karate.info.featureFileName)
4
9047
* def separator = java.lang.System.getProperty("file.separator")
2
9048
* def outputpath = db.outputpath()
1
9049
* eval db.ensureDirectory(outputpath)
2
9050
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
9051
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9052
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9053
Given path 'geonetwork/srv/dut/inspire'
0
9054
And param service = 'CSW'
0
9055
And param version = '2.0.2'
0
9056
And param request = 'GetRecordById'
0
9057
And param id = 'abf1f9f0-1b85-40e8-86ec-86bee6003b4e'
1
9058
And param elementsetname = 'full'
0
9059
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9060
When method get
2003
9061
Then status 200
0
9062
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'abf1f9f0-1b85-40e8-86ec-86bee6003b4e'
2
9063
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9064
* def title = get response //citation/CI_Citation/title/CharacterString
1
9065
* def email = get response //electronicMailAddress/CharacterString
1
9066
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9067
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
9068
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9069
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
9070
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
9071
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9072
* print organisationpath
0
09:37:25.975 [print] Beheer PDOK
9073
* print operateson
0
09:37:25.975 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1462bbce-ccd3-4362-83d8-4535ca8f44eb#MD_DataIdentification
9074
* eval db.writeln('"abf1f9f0-1b85-40e8-86ec-86bee6003b4e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
9075
* eval db.writeln('"abf1f9f0-1b85-40e8-86ec-86bee6003b4e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.276:18]cd370f58-0e54-48d6-b83b-ccd332bfb7c7
ms: 1727
>>
Background:
9076
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
9077
* def mystorage = Java.type('storage.DataStorage')
1
9078
* def db = new mystorage
6
9079
* def db = db.setfeature(karate.info.featureFileName)
4
9080
* def separator = java.lang.System.getProperty("file.separator")
2
9081
* def outputpath = db.outputpath()
1
9082
* eval db.ensureDirectory(outputpath)
2
9083
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
9084
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9085
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9086
Given path 'geonetwork/srv/dut/inspire'
1
9087
And param service = 'CSW'
0
9088
And param version = '2.0.2'
0
9089
And param request = 'GetRecordById'
0
9090
And param id = 'cd370f58-0e54-48d6-b83b-ccd332bfb7c7'
0
9091
And param elementsetname = 'full'
0
9092
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9093
When method get
1718
9094
Then status 200
0
9095
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cd370f58-0e54-48d6-b83b-ccd332bfb7c7'
1
9096
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9097
* def title = get response //citation/CI_Citation/title/CharacterString
0
9098
* def email = get response //electronicMailAddress/CharacterString
0
9099
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9100
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9101
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9102
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9103
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9104
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9105
* print organisationpath
0
09:37:25.720 [print]
9106
* print operateson
0
09:37:25.720 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ad6caa40-89ab-47e3-85ab-3f8e32024a71#MD_DataIdentification
9107
* eval db.writeln('"cd370f58-0e54-48d6-b83b-ccd332bfb7c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9108
* eval db.writeln('"cd370f58-0e54-48d6-b83b-ccd332bfb7c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.277:18]ea4cb6a2-f637-413a-91cc-d58473c2f138
ms: 2029
>>
Background:
9109
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
9110
* def mystorage = Java.type('storage.DataStorage')
1
9111
* def db = new mystorage
6
9112
* def db = db.setfeature(karate.info.featureFileName)
4
9113
* def separator = java.lang.System.getProperty("file.separator")
2
9114
* def outputpath = db.outputpath()
1
9115
* eval db.ensureDirectory(outputpath)
2
9116
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
9117
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9118
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9119
Given path 'geonetwork/srv/dut/inspire'
1
9120
And param service = 'CSW'
0
9121
And param version = '2.0.2'
0
9122
And param request = 'GetRecordById'
0
9123
And param id = 'ea4cb6a2-f637-413a-91cc-d58473c2f138'
0
9124
And param elementsetname = 'full'
0
9125
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9126
When method get
2019
9127
Then status 200
0
9128
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ea4cb6a2-f637-413a-91cc-d58473c2f138'
1
9129
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9130
* def title = get response //citation/CI_Citation/title/CharacterString
0
9131
* def email = get response //electronicMailAddress/CharacterString
0
9132
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9133
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9134
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9135
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9136
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9137
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9138
* print organisationpath
0
09:37:26.046 [print] Interprovinciaal Overleg
9139
* print operateson
0
09:37:26.046 [print] [ "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=c829abeb-bfac-4224-8332-e7a9a89e692e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification", "http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=fe45c540-e37d-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification" ]
9140
* eval db.writeln('"ea4cb6a2-f637-413a-91cc-d58473c2f138","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9141
* eval db.writeln('"ea4cb6a2-f637-413a-91cc-d58473c2f138","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.278:18]67bcc21d-beda-449d-975c-00a4fa80f2b7
ms: 1832
>>
Background:
9142
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
9143
* def mystorage = Java.type('storage.DataStorage')
1
9144
* def db = new mystorage
6
9145
* def db = db.setfeature(karate.info.featureFileName)
4
9146
* def separator = java.lang.System.getProperty("file.separator")
2
9147
* def outputpath = db.outputpath()
1
9148
* eval db.ensureDirectory(outputpath)
2
9149
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
9150
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9151
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9152
Given path 'geonetwork/srv/dut/inspire'
1
9153
And param service = 'CSW'
0
9154
And param version = '2.0.2'
0
9155
And param request = 'GetRecordById'
0
9156
And param id = '67bcc21d-beda-449d-975c-00a4fa80f2b7'
0
9157
And param elementsetname = 'full'
0
9158
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9159
When method get
1823
9160
Then status 200
0
9161
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '67bcc21d-beda-449d-975c-00a4fa80f2b7'
2
9162
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9163
* def title = get response //citation/CI_Citation/title/CharacterString
0
9164
* def email = get response //electronicMailAddress/CharacterString
0
9165
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9166
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9167
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9168
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9169
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9170
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9171
* print organisationpath
0
09:37:25.951 [print]
9172
* print operateson
0
09:37:25.951 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=07575774-57a1-4419-bab4-6c88fdeb02b2#MD_DataIdentification
9173
* eval db.writeln('"67bcc21d-beda-449d-975c-00a4fa80f2b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
9174
* eval db.writeln('"67bcc21d-beda-449d-975c-00a4fa80f2b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.279:18]224d93f6-0e4e-41fe-8424-1ab11a6c55ed
ms: 2005
>>
Background:
9175
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
9176
* def mystorage = Java.type('storage.DataStorage')
1
9177
* def db = new mystorage
6
9178
* def db = db.setfeature(karate.info.featureFileName)
4
9179
* def separator = java.lang.System.getProperty("file.separator")
2
9180
* def outputpath = db.outputpath()
1
9181
* eval db.ensureDirectory(outputpath)
2
9182
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
9183
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9184
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9185
Given path 'geonetwork/srv/dut/inspire'
0
9186
And param service = 'CSW'
0
9187
And param version = '2.0.2'
0
9188
And param request = 'GetRecordById'
0
9189
And param id = '224d93f6-0e4e-41fe-8424-1ab11a6c55ed'
0
9190
And param elementsetname = 'full'
0
9191
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9192
When method get
1995
9193
Then status 200
0
9194
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '224d93f6-0e4e-41fe-8424-1ab11a6c55ed'
1
9195
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9196
* def title = get response //citation/CI_Citation/title/CharacterString
0
9197
* def email = get response //electronicMailAddress/CharacterString
0
9198
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9199
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9200
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9201
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9202
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9203
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9204
* print organisationpath
0
09:37:26.217 [print]
9205
* print operateson
0
09:37:26.217 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=36a7e8cb-8300-4602-93d2-135943365a6f#MD_DataIdentification
9206
* eval db.writeln('"224d93f6-0e4e-41fe-8424-1ab11a6c55ed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
9207
* eval db.writeln('"224d93f6-0e4e-41fe-8424-1ab11a6c55ed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.280:18]54d2021b-e778-4834-a3c6-75c89d36b942
ms: 1623
>>
Background:
9208
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
9209
* def mystorage = Java.type('storage.DataStorage')
1
9210
* def db = new mystorage
6
9211
* def db = db.setfeature(karate.info.featureFileName)
4
9212
* def separator = java.lang.System.getProperty("file.separator")
2
9213
* def outputpath = db.outputpath()
1
9214
* eval db.ensureDirectory(outputpath)
2
9215
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
9216
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9217
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9218
Given path 'geonetwork/srv/dut/inspire'
0
9219
And param service = 'CSW'
0
9220
And param version = '2.0.2'
0
9221
And param request = 'GetRecordById'
0
9222
And param id = '54d2021b-e778-4834-a3c6-75c89d36b942'
0
9223
And param elementsetname = 'full'
0
9224
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9225
When method get
1613
9226
Then status 200
0
9227
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '54d2021b-e778-4834-a3c6-75c89d36b942'
1
9228
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9229
* def title = get response //citation/CI_Citation/title/CharacterString
0
9230
* def email = get response //electronicMailAddress/CharacterString
0
9231
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9232
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9233
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9234
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9235
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9236
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9237
* print organisationpath
0
09:37:25.881 [print] Beheer PDOK
9238
* print operateson
0
09:37:25.881 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2ae3e9b7-aa79-41d4-a35b-c9a0fee69e5c#MD_DataIdentification
9239
* eval db.writeln('"54d2021b-e778-4834-a3c6-75c89d36b942","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9240
* eval db.writeln('"54d2021b-e778-4834-a3c6-75c89d36b942","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.281:18]b4ae5b2c-f557-4a30-bbf2-c2681a544f32
ms: 2353
>>
Background:
9241
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
9242
* def mystorage = Java.type('storage.DataStorage')
1
9243
* def db = new mystorage
6
9244
* def db = db.setfeature(karate.info.featureFileName)
4
9245
* def separator = java.lang.System.getProperty("file.separator")
2
9246
* def outputpath = db.outputpath()
1
9247
* eval db.ensureDirectory(outputpath)
2
9248
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
9249
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9250
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9251
Given path 'geonetwork/srv/dut/inspire'
0
9252
And param service = 'CSW'
0
9253
And param version = '2.0.2'
0
9254
And param request = 'GetRecordById'
0
9255
And param id = 'b4ae5b2c-f557-4a30-bbf2-c2681a544f32'
0
9256
And param elementsetname = 'full'
0
9257
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9258
When method get
2336
9259
Then status 200
0
9260
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b4ae5b2c-f557-4a30-bbf2-c2681a544f32'
1
9261
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9262
* def title = get response //citation/CI_Citation/title/CharacterString
0
9263
* def email = get response //electronicMailAddress/CharacterString
1
9264
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9265
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9266
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9267
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9268
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9269
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9270
* print organisationpath
0
09:37:26.666 [print] Beheer PDOK
9271
* print operateson
0
09:37:26.666 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7#MD_DataIdentification
9272
* eval db.writeln('"b4ae5b2c-f557-4a30-bbf2-c2681a544f32","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
9
9273
* eval db.writeln('"b4ae5b2c-f557-4a30-bbf2-c2681a544f32","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.282:18]87a382da-c6dc-403c-a006-2379eb6daaa6
ms: 2327
>>
Background:
9274
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
9275
* def mystorage = Java.type('storage.DataStorage')
1
9276
* def db = new mystorage
6
9277
* def db = db.setfeature(karate.info.featureFileName)
4
9278
* def separator = java.lang.System.getProperty("file.separator")
2
9279
* def outputpath = db.outputpath()
1
9280
* eval db.ensureDirectory(outputpath)
2
9281
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
9282
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9283
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9284
Given path 'geonetwork/srv/dut/inspire'
1
9285
And param service = 'CSW'
0
9286
And param version = '2.0.2'
0
9287
And param request = 'GetRecordById'
0
9288
And param id = '87a382da-c6dc-403c-a006-2379eb6daaa6'
0
9289
And param elementsetname = 'full'
0
9290
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9291
When method get
2318
9292
Then status 200
0
9293
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '87a382da-c6dc-403c-a006-2379eb6daaa6'
1
9294
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9295
* def title = get response //citation/CI_Citation/title/CharacterString
0
9296
* def email = get response //electronicMailAddress/CharacterString
0
9297
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9298
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9299
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9300
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9301
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9302
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9303
* print organisationpath
0
09:37:26.666 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
9304
* print operateson
0
09:37:26.666 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=f1d27179-36eb-4376-8048-f51d2eb23a09&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
9305
* eval db.writeln('"87a382da-c6dc-403c-a006-2379eb6daaa6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
9306
* eval db.writeln('"87a382da-c6dc-403c-a006-2379eb6daaa6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.283:18]4f4c7848-1767-4c67-be08-87d45d07f313
ms: 2285
>>
Background:
9307
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
9308
* def mystorage = Java.type('storage.DataStorage')
1
9309
* def db = new mystorage
6
9310
* def db = db.setfeature(karate.info.featureFileName)
4
9311
* def separator = java.lang.System.getProperty("file.separator")
2
9312
* def outputpath = db.outputpath()
1
9313
* eval db.ensureDirectory(outputpath)
2
9314
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
9315
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9316
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9317
Given path 'geonetwork/srv/dut/inspire'
0
9318
And param service = 'CSW'
0
9319
And param version = '2.0.2'
0
9320
And param request = 'GetRecordById'
0
9321
And param id = '4f4c7848-1767-4c67-be08-87d45d07f313'
8
9322
And param elementsetname = 'full'
0
9323
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9324
When method get
2244
9325
Then status 200
0
9326
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4f4c7848-1767-4c67-be08-87d45d07f313'
4
9327
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
3
9328
* def title = get response //citation/CI_Citation/title/CharacterString
3
9329
* def email = get response //electronicMailAddress/CharacterString
3
9330
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
3
9331
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
2
9332
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
2
9333
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
9334
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
9335
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
3
9336
* print organisationpath
0
09:37:26.739 [print] Beheer PDOK
9337
* print operateson
0
09:37:26.739 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f273941e-9c3b-43bc-b886-2d50d0bf9348#MD_DataIdentification
9338
* eval db.writeln('"4f4c7848-1767-4c67-be08-87d45d07f313","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
9339
* eval db.writeln('"4f4c7848-1767-4c67-be08-87d45d07f313","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.284:18]1c0dcc64-91aa-4d44-a9e3-54355556f5e7
ms: 1805
>>
Background:
9340
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
9341
* def mystorage = Java.type('storage.DataStorage')
1
9342
* def db = new mystorage
6
9343
* def db = db.setfeature(karate.info.featureFileName)
4
9344
* def separator = java.lang.System.getProperty("file.separator")
2
9345
* def outputpath = db.outputpath()
1
9346
* eval db.ensureDirectory(outputpath)
2
9347
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
9348
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9349
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9350
Given path 'geonetwork/srv/dut/inspire'
1
9351
And param service = 'CSW'
0
9352
And param version = '2.0.2'
0
9353
And param request = 'GetRecordById'
0
9354
And param id = '1c0dcc64-91aa-4d44-a9e3-54355556f5e7'
0
9355
And param elementsetname = 'full'
0
9356
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9357
When method get
1794
9358
Then status 200
0
9359
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1c0dcc64-91aa-4d44-a9e3-54355556f5e7'
1
9360
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9361
* def title = get response //citation/CI_Citation/title/CharacterString
1
9362
* def email = get response //electronicMailAddress/CharacterString
1
9363
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9364
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9365
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9366
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9367
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9368
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9369
* print organisationpath
0
09:37:26.348 [print] Beheer PDOK
9370
* print operateson
0
09:37:26.348 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=aa3b5e6e-7baa-40c0-8972-3353e927ec2f#MD_DataIdentification
9371
* eval db.writeln('"1c0dcc64-91aa-4d44-a9e3-54355556f5e7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9372
* eval db.writeln('"1c0dcc64-91aa-4d44-a9e3-54355556f5e7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.285:18]94f241c2-43a2-42c3-8e9e-71976605aa0e
ms: 1750
>>
Background:
9373
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
9374
* def mystorage = Java.type('storage.DataStorage')
1
9375
* def db = new mystorage
6
9376
* def db = db.setfeature(karate.info.featureFileName)
4
9377
* def separator = java.lang.System.getProperty("file.separator")
2
9378
* def outputpath = db.outputpath()
1
9379
* eval db.ensureDirectory(outputpath)
2
9380
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
9381
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9382
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9383
Given path 'geonetwork/srv/dut/inspire'
1
9384
And param service = 'CSW'
0
9385
And param version = '2.0.2'
0
9386
And param request = 'GetRecordById'
0
9387
And param id = '94f241c2-43a2-42c3-8e9e-71976605aa0e'
1
9388
And param elementsetname = 'full'
0
9389
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9390
When method get
1733
9391
Then status 200
0
9392
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '94f241c2-43a2-42c3-8e9e-71976605aa0e'
2
9393
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9394
* def title = get response //citation/CI_Citation/title/CharacterString
1
9395
* def email = get response //electronicMailAddress/CharacterString
1
9396
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9397
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
9398
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9399
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
9400
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
9401
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9402
* print organisationpath
0
09:37:26.322 [print] Beheer PDOK
9403
* print operateson
0
09:37:26.322 [print] [ "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=29d5310f-dd0d-45ba-abad-b4ffc6b8785f#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=af0c582f-9e6b-46e6-865a-fc3a2d5289b9#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=81ff84ec-42a4-4481-840b-12713bbb5d38#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3eebf700-5abf-42e4-826c-03cfb497e366#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=4b282988-cb91-4bbc-b147-f653014917cb#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=0558a41c-b09a-47fa-b8db-9de6bfe4f494#MD_DataIdentification", "http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=9d9f1738-aced-47c9-aaa0-c62474a2dcfb#MD_DataIdentification" ]
9404
* eval db.writeln('"94f241c2-43a2-42c3-8e9e-71976605aa0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
9405
* eval db.writeln('"94f241c2-43a2-42c3-8e9e-71976605aa0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.286:18]7ab53b91-9df1-4c39-ba0e-06ec80ce512b
ms: 2264
>>
Background:
9406
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
9407
* def mystorage = Java.type('storage.DataStorage')
1
9408
* def db = new mystorage
6
9409
* def db = db.setfeature(karate.info.featureFileName)
4
9410
* def separator = java.lang.System.getProperty("file.separator")
2
9411
* def outputpath = db.outputpath()
1
9412
* eval db.ensureDirectory(outputpath)
2
9413
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
9414
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9415
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9416
Given path 'geonetwork/srv/dut/inspire'
1
9417
And param service = 'CSW'
0
9418
And param version = '2.0.2'
0
9419
And param request = 'GetRecordById'
0
9420
And param id = '7ab53b91-9df1-4c39-ba0e-06ec80ce512b'
1
9421
And param elementsetname = 'full'
0
9422
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9423
When method get
2252
9424
Then status 200
0
9425
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7ab53b91-9df1-4c39-ba0e-06ec80ce512b'
1
9426
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9427
* def title = get response //citation/CI_Citation/title/CharacterString
0
9428
* def email = get response //electronicMailAddress/CharacterString
0
9429
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9430
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9431
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9432
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9433
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9434
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9435
* print organisationpath
0
09:37:26.894 [print] Beheer PDOK
9436
* print operateson
0
09:37:26.894 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3387ef8a-9237-453a-aa4e-585d1e193550#MD_DataIdentification
9437
* eval db.writeln('"7ab53b91-9df1-4c39-ba0e-06ec80ce512b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
4
9438
* eval db.writeln('"7ab53b91-9df1-4c39-ba0e-06ec80ce512b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.287:18]108fec55-e467-4d04-ab35-fd0d7060e3e2
ms: 2490
>>
Background:
9439
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
9440
* def mystorage = Java.type('storage.DataStorage')
1
9441
* def db = new mystorage
6
9442
* def db = db.setfeature(karate.info.featureFileName)
4
9443
* def separator = java.lang.System.getProperty("file.separator")
2
9444
* def outputpath = db.outputpath()
1
9445
* eval db.ensureDirectory(outputpath)
2
9446
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
9447
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9448
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9449
Given path 'geonetwork/srv/dut/inspire'
1
9450
And param service = 'CSW'
0
9451
And param version = '2.0.2'
0
9452
And param request = 'GetRecordById'
0
9453
And param id = '108fec55-e467-4d04-ab35-fd0d7060e3e2'
1
9454
And param elementsetname = 'full'
0
9455
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9456
When method get
2479
9457
Then status 200
0
9458
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '108fec55-e467-4d04-ab35-fd0d7060e3e2'
2
9459
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9460
* def title = get response //citation/CI_Citation/title/CharacterString
0
9461
* def email = get response //electronicMailAddress/CharacterString
1
9462
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9463
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9464
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9465
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9466
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
9467
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9468
* print organisationpath
0
09:37:27.203 [print]
9469
* print operateson
0
09:37:27.203 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e1#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification" ]
9470
* eval db.writeln('"108fec55-e467-4d04-ab35-fd0d7060e3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
9471
* eval db.writeln('"108fec55-e467-4d04-ab35-fd0d7060e3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.288:18]b85d4a0a-c0f7-42f4-9316-b214d205ca38
ms: 1892
>>
Background:
9472
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
9473
* def mystorage = Java.type('storage.DataStorage')
1
9474
* def db = new mystorage
6
9475
* def db = db.setfeature(karate.info.featureFileName)
4
9476
* def separator = java.lang.System.getProperty("file.separator")
2
9477
* def outputpath = db.outputpath()
1
9478
* eval db.ensureDirectory(outputpath)
2
9479
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
9480
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9481
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9482
Given path 'geonetwork/srv/dut/inspire'
1
9483
And param service = 'CSW'
0
9484
And param version = '2.0.2'
0
9485
And param request = 'GetRecordById'
0
9486
And param id = 'b85d4a0a-c0f7-42f4-9316-b214d205ca38'
1
9487
And param elementsetname = 'full'
0
9488
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9489
When method get
1877
9490
Then status 200
0
9491
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b85d4a0a-c0f7-42f4-9316-b214d205ca38'
2
9492
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9493
* def title = get response //citation/CI_Citation/title/CharacterString
0
9494
* def email = get response //electronicMailAddress/CharacterString
0
9495
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9496
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9497
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9498
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9499
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9500
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9501
* print organisationpath
0
09:37:26.674 [print] RDW
9502
* print operateson
0
09:37:26.674 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=fe2f9091-1962-4073-9e3b-3e4aeed488a5#MD_DataIdentification
9503
* eval db.writeln('"b85d4a0a-c0f7-42f4-9316-b214d205ca38","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
6
9504
* eval db.writeln('"b85d4a0a-c0f7-42f4-9316-b214d205ca38","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.289:18]wt-f297898-2640-44c2-bbe9-c0480dt83794
ms: 2284
>>
Background:
9505
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
9506
* def mystorage = Java.type('storage.DataStorage')
1
9507
* def db = new mystorage
6
9508
* def db = db.setfeature(karate.info.featureFileName)
4
9509
* def separator = java.lang.System.getProperty("file.separator")
2
9510
* def outputpath = db.outputpath()
1
9511
* eval db.ensureDirectory(outputpath)
2
9512
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
9513
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9514
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9515
Given path 'geonetwork/srv/dut/inspire'
7
9516
And param service = 'CSW'
0
9517
And param version = '2.0.2'
0
9518
And param request = 'GetRecordById'
0
9519
And param id = 'wt-f297898-2640-44c2-bbe9-c0480dt83794'
1
9520
And param elementsetname = 'full'
0
9521
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9522
When method get
2268
9523
Then status 200
0
9524
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f297898-2640-44c2-bbe9-c0480dt83794'
1
9525
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9526
* def title = get response //citation/CI_Citation/title/CharacterString
0
9527
* def email = get response //electronicMailAddress/CharacterString
0
9528
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9529
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9530
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9531
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9532
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9533
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9534
* print organisationpath
0
09:37:27.286 [print] Rijkswaterstaat
9535
* print operateson
0
09:37:27.286 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification
9536
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480dt83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9537
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480dt83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.290:18]d293204f-6581-4b0a-811b-1dcce97adedd
ms: 2202
>>
Background:
9538
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
9539
* def mystorage = Java.type('storage.DataStorage')
1
9540
* def db = new mystorage
6
9541
* def db = db.setfeature(karate.info.featureFileName)
4
9542
* def separator = java.lang.System.getProperty("file.separator")
2
9543
* def outputpath = db.outputpath()
1
9544
* eval db.ensureDirectory(outputpath)
2
9545
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
9546
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9547
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9548
Given path 'geonetwork/srv/dut/inspire'
0
9549
And param service = 'CSW'
0
9550
And param version = '2.0.2'
0
9551
And param request = 'GetRecordById'
0
9552
And param id = 'd293204f-6581-4b0a-811b-1dcce97adedd'
0
9553
And param elementsetname = 'full'
0
9554
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9555
When method get
2189
9556
Then status 200
0
9557
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd293204f-6581-4b0a-811b-1dcce97adedd'
5
9558
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9559
* def title = get response //citation/CI_Citation/title/CharacterString
0
9560
* def email = get response //electronicMailAddress/CharacterString
0
9561
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9562
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9563
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9564
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9565
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9566
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9567
* print organisationpath
0
09:37:27.484 [print] Beheer PDOK
9568
* print operateson
0
09:37:27.484 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=e536d943-ecff-4d7a-9500-cc31a263a6af#MD_DataIdentification
9569
* eval db.writeln('"d293204f-6581-4b0a-811b-1dcce97adedd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9570
* eval db.writeln('"d293204f-6581-4b0a-811b-1dcce97adedd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.291:18]3d01c1ca-973c-4652-baa5-39458bb9e181
ms: 2249
>>
Background:
9571
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
9572
* def mystorage = Java.type('storage.DataStorage')
1
9573
* def db = new mystorage
6
9574
* def db = db.setfeature(karate.info.featureFileName)
4
9575
* def separator = java.lang.System.getProperty("file.separator")
2
9576
* def outputpath = db.outputpath()
1
9577
* eval db.ensureDirectory(outputpath)
2
9578
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
9579
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9580
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9581
Given path 'geonetwork/srv/dut/inspire'
0
9582
And param service = 'CSW'
0
9583
And param version = '2.0.2'
0
9584
And param request = 'GetRecordById'
0
9585
And param id = '3d01c1ca-973c-4652-baa5-39458bb9e181'
8
9586
And param elementsetname = 'full'
0
9587
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9588
When method get
2232
9589
Then status 200
0
9590
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3d01c1ca-973c-4652-baa5-39458bb9e181'
1
9591
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9592
* def title = get response //citation/CI_Citation/title/CharacterString
1
9593
* def email = get response //electronicMailAddress/CharacterString
1
9594
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9595
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9596
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9597
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9598
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9599
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9600
* print organisationpath
0
09:37:27.581 [print] Beheer PDOK
9601
* print operateson
0
09:37:27.581 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=fe0e1e5f-512f-4bb1-bbf8-4028d3dfa24f#MD_DataIdentification
9602
* eval db.writeln('"3d01c1ca-973c-4652-baa5-39458bb9e181","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
9603
* eval db.writeln('"3d01c1ca-973c-4652-baa5-39458bb9e181","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.292:18]d981070b-888c-42d5-85ff-1e383f3d7fce
ms: 2302
>>
Background:
9604
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
9605
* def mystorage = Java.type('storage.DataStorage')
1
9606
* def db = new mystorage
6
9607
* def db = db.setfeature(karate.info.featureFileName)
4
9608
* def separator = java.lang.System.getProperty("file.separator")
2
9609
* def outputpath = db.outputpath()
1
9610
* eval db.ensureDirectory(outputpath)
2
9611
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
9612
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9613
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9614
Given path 'geonetwork/srv/dut/inspire'
0
9615
And param service = 'CSW'
0
9616
And param version = '2.0.2'
0
9617
And param request = 'GetRecordById'
0
9618
And param id = 'd981070b-888c-42d5-85ff-1e383f3d7fce'
0
9619
And param elementsetname = 'full'
0
9620
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9621
When method get
2289
9622
Then status 200
0
9623
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd981070b-888c-42d5-85ff-1e383f3d7fce'
2
9624
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9625
* def title = get response //citation/CI_Citation/title/CharacterString
0
9626
* def email = get response //electronicMailAddress/CharacterString
0
9627
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9628
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9629
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9630
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9631
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9632
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9633
* print organisationpath
0
09:37:27.645 [print] Beheer PDOK
9634
* print operateson
0
09:37:27.645 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=d845cef6-0e23-4212-a951-b69763e39ef0#MD_DataIdentification
9635
* eval db.writeln('"d981070b-888c-42d5-85ff-1e383f3d7fce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
9636
* eval db.writeln('"d981070b-888c-42d5-85ff-1e383f3d7fce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.293:18]2d1860f2-f8ba-457e-bd64-93cdabd69aee
ms: 2852
>>
Background:
9637
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
9638
* def mystorage = Java.type('storage.DataStorage')
1
9639
* def db = new mystorage
6
9640
* def db = db.setfeature(karate.info.featureFileName)
4
9641
* def separator = java.lang.System.getProperty("file.separator")
2
9642
* def outputpath = db.outputpath()
1
9643
* eval db.ensureDirectory(outputpath)
2
9644
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
9645
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9646
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9647
Given path 'geonetwork/srv/dut/inspire'
0
9648
And param service = 'CSW'
0
9649
And param version = '2.0.2'
0
9650
And param request = 'GetRecordById'
0
9651
And param id = '2d1860f2-f8ba-457e-bd64-93cdabd69aee'
1
9652
And param elementsetname = 'full'
0
9653
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9654
When method get
2843
9655
Then status 200
0
9656
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2d1860f2-f8ba-457e-bd64-93cdabd69aee'
1
9657
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9658
* def title = get response //citation/CI_Citation/title/CharacterString
0
9659
* def email = get response //electronicMailAddress/CharacterString
0
9660
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9661
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9662
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9663
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9664
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9665
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9666
* print organisationpath
0
09:37:28.224 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
9667
* print operateson
0
09:37:28.224 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4cda487b-c467-490c-a843-6563fec016be#MD_DataIdentification
9668
* eval db.writeln('"2d1860f2-f8ba-457e-bd64-93cdabd69aee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9669
* eval db.writeln('"2d1860f2-f8ba-457e-bd64-93cdabd69aee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.294:18]641a0f48-872b-4470-b130-e3d28e6bfdfb
ms: 2077
>>
Background:
9670
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
9671
* def mystorage = Java.type('storage.DataStorage')
1
9672
* def db = new mystorage
6
9673
* def db = db.setfeature(karate.info.featureFileName)
4
9674
* def separator = java.lang.System.getProperty("file.separator")
2
9675
* def outputpath = db.outputpath()
1
9676
* eval db.ensureDirectory(outputpath)
2
9677
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
9678
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9679
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9680
Given path 'geonetwork/srv/dut/inspire'
0
9681
And param service = 'CSW'
0
9682
And param version = '2.0.2'
0
9683
And param request = 'GetRecordById'
0
9684
And param id = '641a0f48-872b-4470-b130-e3d28e6bfdfb'
1
9685
And param elementsetname = 'full'
0
9686
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9687
When method get
2058
9688
Then status 200
0
9689
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '641a0f48-872b-4470-b130-e3d28e6bfdfb'
3
9690
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9691
* def title = get response //citation/CI_Citation/title/CharacterString
0
9692
* def email = get response //electronicMailAddress/CharacterString
1
9693
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9694
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9695
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9696
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
8
9697
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9698
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9699
* print organisationpath
0
09:37:27.488 [print]
9700
* print operateson
0
09:37:27.489 [print] [ "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification", "https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e4#MD_DataIdentification" ]
9701
* eval db.writeln('"641a0f48-872b-4470-b130-e3d28e6bfdfb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9702
* eval db.writeln('"641a0f48-872b-4470-b130-e3d28e6bfdfb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.295:18]a84f9836-9111-4e45-a311-3dab39019e15
ms: 2809
>>
Background:
9703
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
9704
* def mystorage = Java.type('storage.DataStorage')
1
9705
* def db = new mystorage
6
9706
* def db = db.setfeature(karate.info.featureFileName)
4
9707
* def separator = java.lang.System.getProperty("file.separator")
2
9708
* def outputpath = db.outputpath()
1
9709
* eval db.ensureDirectory(outputpath)
2
9710
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
9711
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9712
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9713
Given path 'geonetwork/srv/dut/inspire'
1
9714
And param service = 'CSW'
0
9715
And param version = '2.0.2'
0
9716
And param request = 'GetRecordById'
0
9717
And param id = 'a84f9836-9111-4e45-a311-3dab39019e15'
0
9718
And param elementsetname = 'full'
0
9719
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9720
When method get
2799
9721
Then status 200
0
9722
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a84f9836-9111-4e45-a311-3dab39019e15'
1
9723
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9724
* def title = get response //citation/CI_Citation/title/CharacterString
1
9725
* def email = get response //electronicMailAddress/CharacterString
1
9726
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9727
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9728
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9729
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9730
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9731
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9732
* print organisationpath
0
09:37:28.288 [print] Beheer PDOK
9733
* print operateson
0
09:37:28.288 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification
9734
* eval db.writeln('"a84f9836-9111-4e45-a311-3dab39019e15","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
9735
* eval db.writeln('"a84f9836-9111-4e45-a311-3dab39019e15","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.296:18]d2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507
ms: 2977
>>
Background:
9736
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
9737
* def mystorage = Java.type('storage.DataStorage')
1
9738
* def db = new mystorage
6
9739
* def db = db.setfeature(karate.info.featureFileName)
4
9740
* def separator = java.lang.System.getProperty("file.separator")
2
9741
* def outputpath = db.outputpath()
1
9742
* eval db.ensureDirectory(outputpath)
2
9743
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
9744
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9745
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9746
Given path 'geonetwork/srv/dut/inspire'
1
9747
And param service = 'CSW'
0
9748
And param version = '2.0.2'
0
9749
And param request = 'GetRecordById'
0
9750
And param id = 'd2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507'
0
9751
And param elementsetname = 'full'
0
9752
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9753
When method get
2967
9754
Then status 200
0
9755
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507'
1
9756
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9757
* def title = get response //citation/CI_Citation/title/CharacterString
0
9758
* def email = get response //electronicMailAddress/CharacterString
0
9759
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9760
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9761
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9762
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9763
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9764
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9765
* print organisationpath
0
09:37:28.618 [print] Beheer PDOK
9766
* print operateson
0
09:37:28.618 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3703b249-a0eb-484e-ba7a-10e31a55bcec#MD_DataIdentification
9767
* eval db.writeln('"d2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
9768
* eval db.writeln('"d2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.297:18]972edbaa-f860-4c48-b449-4f238a263472
ms: 2242
>>
Background:
9769
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
9770
* def mystorage = Java.type('storage.DataStorage')
1
9771
* def db = new mystorage
6
9772
* def db = db.setfeature(karate.info.featureFileName)
4
9773
* def separator = java.lang.System.getProperty("file.separator")
2
9774
* def outputpath = db.outputpath()
1
9775
* eval db.ensureDirectory(outputpath)
2
9776
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
9777
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9778
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9779
Given path 'geonetwork/srv/dut/inspire'
0
9780
And param service = 'CSW'
0
9781
And param version = '2.0.2'
0
9782
And param request = 'GetRecordById'
0
9783
And param id = '972edbaa-f860-4c48-b449-4f238a263472'
0
9784
And param elementsetname = 'full'
0
9785
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9786
When method get
2231
9787
Then status 200
0
9788
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '972edbaa-f860-4c48-b449-4f238a263472'
2
9789
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9790
* def title = get response //citation/CI_Citation/title/CharacterString
1
9791
* def email = get response //electronicMailAddress/CharacterString
1
9792
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9793
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9794
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9795
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9796
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9797
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9798
* print organisationpath
0
09:37:27.915 [print] Beheer PDOK
9799
* print operateson
0
09:37:27.915 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=d6b85d84-cdb9-4a6e-b799-cf8826e22a94#MD_DataIdentification
9800
* eval db.writeln('"972edbaa-f860-4c48-b449-4f238a263472","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
9801
* eval db.writeln('"972edbaa-f860-4c48-b449-4f238a263472","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.298:18]89b35a6c-c099-456b-8eaf-2b83c7a35c74
ms: 2728
>>
Background:
9802
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
9803
* def mystorage = Java.type('storage.DataStorage')
1
9804
* def db = new mystorage
6
9805
* def db = db.setfeature(karate.info.featureFileName)
4
9806
* def separator = java.lang.System.getProperty("file.separator")
2
9807
* def outputpath = db.outputpath()
1
9808
* eval db.ensureDirectory(outputpath)
2
9809
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
9810
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9811
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9812
Given path 'geonetwork/srv/dut/inspire'
0
9813
And param service = 'CSW'
0
9814
And param version = '2.0.2'
0
9815
And param request = 'GetRecordById'
0
9816
And param id = '89b35a6c-c099-456b-8eaf-2b83c7a35c74'
0
9817
And param elementsetname = 'full'
0
9818
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9819
When method get
2716
9820
Then status 200
0
9821
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '89b35a6c-c099-456b-8eaf-2b83c7a35c74'
1
9822
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9823
* def title = get response //citation/CI_Citation/title/CharacterString
0
9824
* def email = get response //electronicMailAddress/CharacterString
0
9825
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9826
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9827
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9828
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9829
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9830
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9831
* print organisationpath
0
09:37:28.446 [print] Beheer PDOK
9832
* print operateson
0
09:37:28.446 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=247a1d15-0a67-40ce-85be-1403c08f15a8#MD_DataIdentification
9833
* eval db.writeln('"89b35a6c-c099-456b-8eaf-2b83c7a35c74","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9834
* eval db.writeln('"89b35a6c-c099-456b-8eaf-2b83c7a35c74","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.299:18]97cf6a64-9cfc-4ce6-9741-2db44fd27fca
ms: 2786
>>
Background:
9835
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
9836
* def mystorage = Java.type('storage.DataStorage')
1
9837
* def db = new mystorage
6
9838
* def db = db.setfeature(karate.info.featureFileName)
4
9839
* def separator = java.lang.System.getProperty("file.separator")
2
9840
* def outputpath = db.outputpath()
1
9841
* eval db.ensureDirectory(outputpath)
2
9842
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
9843
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9844
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9845
Given path 'geonetwork/srv/dut/inspire'
0
9846
And param service = 'CSW'
0
9847
And param version = '2.0.2'
0
9848
And param request = 'GetRecordById'
0
9849
And param id = '97cf6a64-9cfc-4ce6-9741-2db44fd27fca'
0
9850
And param elementsetname = 'full'
0
9851
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9852
When method get
2777
9853
Then status 200
0
9854
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '97cf6a64-9cfc-4ce6-9741-2db44fd27fca'
1
9855
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9856
* def title = get response //citation/CI_Citation/title/CharacterString
0
9857
* def email = get response //electronicMailAddress/CharacterString
0
9858
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9859
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
9860
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9861
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9862
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9863
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9864
* print organisationpath
0
09:37:28.667 [print]
9865
* print operateson
0
09:37:28.667 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a29917b9-3426-4041-a11b-69bcb2256904&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
9866
* eval db.writeln('"97cf6a64-9cfc-4ce6-9741-2db44fd27fca","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
9867
* eval db.writeln('"97cf6a64-9cfc-4ce6-9741-2db44fd27fca","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.300:18]f0eb64f9-8888-42e1-9550-bf91c32da4bc
ms: 2751
>>
Background:
9868
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
9869
* def mystorage = Java.type('storage.DataStorage')
1
9870
* def db = new mystorage
6
9871
* def db = db.setfeature(karate.info.featureFileName)
4
9872
* def separator = java.lang.System.getProperty("file.separator")
2
9873
* def outputpath = db.outputpath()
1
9874
* eval db.ensureDirectory(outputpath)
2
9875
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
9876
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9877
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9878
Given path 'geonetwork/srv/dut/inspire'
0
9879
And param service = 'CSW'
0
9880
And param version = '2.0.2'
0
9881
And param request = 'GetRecordById'
0
9882
And param id = 'f0eb64f9-8888-42e1-9550-bf91c32da4bc'
0
9883
And param elementsetname = 'full'
0
9884
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9885
When method get
2741
9886
Then status 200
0
9887
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f0eb64f9-8888-42e1-9550-bf91c32da4bc'
2
9888
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9889
* def title = get response //citation/CI_Citation/title/CharacterString
0
9890
* def email = get response //electronicMailAddress/CharacterString
0
9891
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9892
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9893
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9894
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9895
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9896
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9897
* print organisationpath
0
09:37:28.702 [print]
9898
* print operateson
0
09:37:28.702 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e1e99000-ec47-4e9f-84a5-adad24fef0dc#MD_DataIdentification
9899
* eval db.writeln('"f0eb64f9-8888-42e1-9550-bf91c32da4bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9900
* eval db.writeln('"f0eb64f9-8888-42e1-9550-bf91c32da4bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.301:18]80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a
ms: 2188
>>
Background:
9901
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
9902
* def mystorage = Java.type('storage.DataStorage')
1
9903
* def db = new mystorage
6
9904
* def db = db.setfeature(karate.info.featureFileName)
4
9905
* def separator = java.lang.System.getProperty("file.separator")
2
9906
* def outputpath = db.outputpath()
1
9907
* eval db.ensureDirectory(outputpath)
2
9908
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
9909
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9910
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9911
Given path 'geonetwork/srv/dut/inspire'
0
9912
And param service = 'CSW'
0
9913
And param version = '2.0.2'
0
9914
And param request = 'GetRecordById'
0
9915
And param id = '80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a'
0
9916
And param elementsetname = 'full'
0
9917
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9918
When method get
2178
9919
Then status 200
0
9920
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a'
1
9921
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9922
* def title = get response //citation/CI_Citation/title/CharacterString
1
9923
* def email = get response //electronicMailAddress/CharacterString
0
9924
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9925
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9926
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9927
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9928
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9929
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9930
* print organisationpath
0
09:37:28.163 [print] Beheer PDOK
9931
* print operateson
0
09:37:28.163 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=83dab947-387b-49df-8ad2-32bb10d46d38#MD_DataIdentification
9932
* eval db.writeln('"80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
9933
* eval db.writeln('"80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.302:18]9c80458b-12c6-4d38-8f6d-387ab6e4ed21
ms: 2631
>>
Background:
9934
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
9935
* def mystorage = Java.type('storage.DataStorage')
1
9936
* def db = new mystorage
6
9937
* def db = db.setfeature(karate.info.featureFileName)
4
9938
* def separator = java.lang.System.getProperty("file.separator")
2
9939
* def outputpath = db.outputpath()
1
9940
* eval db.ensureDirectory(outputpath)
2
9941
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
9942
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9943
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9944
Given path 'geonetwork/srv/dut/inspire'
0
9945
And param service = 'CSW'
0
9946
And param version = '2.0.2'
0
9947
And param request = 'GetRecordById'
0
9948
And param id = '9c80458b-12c6-4d38-8f6d-387ab6e4ed21'
0
9949
And param elementsetname = 'full'
0
9950
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9951
When method get
2614
9952
Then status 200
0
9953
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9c80458b-12c6-4d38-8f6d-387ab6e4ed21'
1
9954
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9955
* def title = get response //citation/CI_Citation/title/CharacterString
0
9956
* def email = get response //electronicMailAddress/CharacterString
0
9957
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9958
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
9959
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9960
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9961
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
9962
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9963
* print organisationpath
0
09:37:28.672 [print] Beheer PDOK
9964
* print operateson
0
09:37:28.672 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=8829e5dd-c861-4639-a6c8-fdbb6e3440d2#MD_DataIdentification
9965
* eval db.writeln('"9c80458b-12c6-4d38-8f6d-387ab6e4ed21","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
7
9966
* eval db.writeln('"9c80458b-12c6-4d38-8f6d-387ab6e4ed21","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.303:18]b7880739-a701-4cc0-bb32-2bba61fa8924
ms: 2288
>>
Background:
9967
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
9968
* def mystorage = Java.type('storage.DataStorage')
1
9969
* def db = new mystorage
6
9970
* def db = db.setfeature(karate.info.featureFileName)
4
9971
* def separator = java.lang.System.getProperty("file.separator")
2
9972
* def outputpath = db.outputpath()
1
9973
* eval db.ensureDirectory(outputpath)
2
9974
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
9975
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
9976
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
9977
Given path 'geonetwork/srv/dut/inspire'
0
9978
And param service = 'CSW'
0
9979
And param version = '2.0.2'
0
9980
And param request = 'GetRecordById'
0
9981
And param id = 'b7880739-a701-4cc0-bb32-2bba61fa8924'
1
9982
And param elementsetname = 'full'
0
9983
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9984
When method get
2277
9985
Then status 200
0
9986
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b7880739-a701-4cc0-bb32-2bba61fa8924'
2
9987
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9988
* def title = get response //citation/CI_Citation/title/CharacterString
0
9989
* def email = get response //electronicMailAddress/CharacterString
1
9990
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9991
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9992
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9993
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9994
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9995
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9996
* print organisationpath
0
09:37:28.357 [print] TNO Geologische Dienst Nederland
9997
* print operateson
0
09:37:28.357 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=11a292bd-9022-4a9f-b1bf-02f5c89ad74a&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
9998
* eval db.writeln('"b7880739-a701-4cc0-bb32-2bba61fa8924","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
9999
* eval db.writeln('"b7880739-a701-4cc0-bb32-2bba61fa8924","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.304:18]a2fdecfc-de33-4ce3-b935-4c9ac18c5a36
ms: 2525
>>
Background:
10000
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
10001
* def mystorage = Java.type('storage.DataStorage')
1
10002
* def db = new mystorage
6
10003
* def db = db.setfeature(karate.info.featureFileName)
4
10004
* def separator = java.lang.System.getProperty("file.separator")
2
10005
* def outputpath = db.outputpath()
1
10006
* eval db.ensureDirectory(outputpath)
2
10007
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
10008
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
10009
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
10010
Given path 'geonetwork/srv/dut/inspire'
0
10011
And param service = 'CSW'
0
10012
And param version = '2.0.2'
0
10013
And param request = 'GetRecordById'
0
10014
And param id = 'a2fdecfc-de33-4ce3-b935-4c9ac18c5a36'
0
10015
And param elementsetname = 'full'
0
10016
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10017
When method get
2500
10018
Then status 200
0
10019
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a2fdecfc-de33-4ce3-b935-4c9ac18c5a36'
2
10020
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10021
* def title = get response //citation/CI_Citation/title/CharacterString
8
10022
* def email = get response //electronicMailAddress/CharacterString
1
10023
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10024
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
10025
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
10026
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
10027
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
10028
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10029
* print organisationpath
0
09:37:28.741 [print] Beheer PDOK
10030
* print operateson
0
09:37:28.741 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f605a24f-60cd-4c40-94c8-2186aba3ddd0#MD_DataIdentification
10031
* eval db.writeln('"a2fdecfc-de33-4ce3-b935-4c9ac18c5a36","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
3
10032
* eval db.writeln('"a2fdecfc-de33-4ce3-b935-4c9ac18c5a36","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.305:18]542b330b-d3c6-4617-b97f-693e5cfd1872
ms: 2443
>>
Background:
10033
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
10034
* def mystorage = Java.type('storage.DataStorage')
1
10035
* def db = new mystorage
6
10036
* def db = db.setfeature(karate.info.featureFileName)
4
10037
* def separator = java.lang.System.getProperty("file.separator")
2
10038
* def outputpath = db.outputpath()
1
10039
* eval db.ensureDirectory(outputpath)
2
10040
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
10041
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
10042
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
10043
Given path 'geonetwork/srv/dut/inspire'
0
10044
And param service = 'CSW'
0
10045
And param version = '2.0.2'
0
10046
And param request = 'GetRecordById'
0
10047
And param id = '542b330b-d3c6-4617-b97f-693e5cfd1872'
0
10048
And param elementsetname = 'full'
0
10049
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10050
When method get
2429
10051
Then status 200
0
10052
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '542b330b-d3c6-4617-b97f-693e5cfd1872'
5
10053
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10054
* def title = get response //citation/CI_Citation/title/CharacterString
1
10055
* def email = get response //electronicMailAddress/CharacterString
0
10056
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10057
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
10058
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10059
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10060
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10061
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10062
* print organisationpath
0
09:37:28.766 [print] TNO Geologische Dienst Nederland
10063
* print operateson
0
09:37:28.766 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=24de356e-ec4d-4a18-9903-6401d222b77c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
10064
* eval db.writeln('"542b330b-d3c6-4617-b97f-693e5cfd1872","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
1
10065
* eval db.writeln('"542b330b-d3c6-4617-b97f-693e5cfd1872","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.306:18]3e65fa1b-9bb1-41bd-9760-76962751b839
ms: 2470
>>
Background:
10066
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
10067
* def mystorage = Java.type('storage.DataStorage')
1
10068
* def db = new mystorage
6
10069
* def db = db.setfeature(karate.info.featureFileName)
4
10070
* def separator = java.lang.System.getProperty("file.separator")
2
10071
* def outputpath = db.outputpath()
1
10072
* eval db.ensureDirectory(outputpath)
2
10073
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
10074
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
10075
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
10076
Given path 'geonetwork/srv/dut/inspire'
0
10077
And param service = 'CSW'
0
10078
And param version = '2.0.2'
0
10079
And param request = 'GetRecordById'
0
10080
And param id = '3e65fa1b-9bb1-41bd-9760-76962751b839'
0
10081
And param elementsetname = 'full'
0
10082
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10083
When method get
2459
10084
Then status 200
0
10085
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3e65fa1b-9bb1-41bd-9760-76962751b839'
2
10086
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10087
* def title = get response //citation/CI_Citation/title/CharacterString
0
10088
* def email = get response //electronicMailAddress/CharacterString
1
10089
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10090
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10091
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10092
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10093
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10094
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10095
* print organisationpath
0
09:37:28.818 [print] Beheer PDOK
10096
* print operateson
0
09:37:28.818 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=5996e444-f7f3-40d2-b485-8b9af6e8aa89#MD_DataIdentification
10097
* eval db.writeln('"3e65fa1b-9bb1-41bd-9760-76962751b839","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
10098
* eval db.writeln('"3e65fa1b-9bb1-41bd-9760-76962751b839","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.307:18]488c1e6d-363e-4476-b2ff-17756ac9b35f
ms: 1860
>>
Background:
10099
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
10100
* def mystorage = Java.type('storage.DataStorage')
1
10101
* def db = new mystorage
6
10102
* def db = db.setfeature(karate.info.featureFileName)
4
10103
* def separator = java.lang.System.getProperty("file.separator")
2
10104
* def outputpath = db.outputpath()
1
10105
* eval db.ensureDirectory(outputpath)
2
10106
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
10107
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
10108
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
10109
Given path 'geonetwork/srv/dut/inspire'
0
10110
And param service = 'CSW'
0
10111
And param version = '2.0.2'
0
10112
And param request = 'GetRecordById'
0
10113
And param id = '488c1e6d-363e-4476-b2ff-17756ac9b35f'
0
10114
And param elementsetname = 'full'
0
10115
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10116
When method get
1847
10117
Then status 200
0
10118
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '488c1e6d-363e-4476-b2ff-17756ac9b35f'
2
10119
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10120
* def title = get response //citation/CI_Citation/title/CharacterString
1
10121
* def email = get response //electronicMailAddress/CharacterString
1
10122
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10123
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
10124
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
10125
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
10126
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
10127
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10128
* print organisationpath
0
09:37:28.527 [print] Beheer PDOK
10129
* print operateson
0
09:37:28.527 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification
10130
* eval db.writeln('"488c1e6d-363e-4476-b2ff-17756ac9b35f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
10131
* eval db.writeln('"488c1e6d-363e-4476-b2ff-17756ac9b35f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.308:18]c56433ca-35f2-4aaf-8bfa-35d8e0e52dda
ms: 2162
>>
Background:
10132
* url 'http://nationaalgeoregister.nl/'
1
09:36:59.915 karate.env system property was:
10133
* def mystorage = Java.type('storage.DataStorage')
1
10134
* def db = new mystorage
6
10135
* def db = db.setfeature(karate.info.featureFileName)
4
10136
* def separator = java.lang.System.getProperty("file.separator")
2
10137
* def outputpath = db.outputpath()
1
10138
* eval db.ensureDirectory(outputpath)
2
10139
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
5
10140
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
2
10141
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
2
10142
Given path 'geonetwork/srv/dut/inspire'
0
10143
And param service = 'CSW'
0
10144
And param version = '2.0.2'
0
10145
And param request = 'GetRecordById'
0
10146
And param id = 'c56433ca-35f2-4aaf-8bfa-35d8e0e52dda'
0
10147
And param elementsetname = 'full'
0
10148
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10149
When method get
2152
10150
Then status 200
0
10151
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c56433ca-35f2-4aaf-8bfa-35d8e0e52dda'
1
10152
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10153
* def title = get response //citation/CI_Citation/title/CharacterString
0
10154
* def email = get response //electronicMailAddress/CharacterString
0
10155
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10156
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10157
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10158
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10159
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10160
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10161
* print organisationpath
0
09:37:28.836 [print]
10162
* print operateson
0
09:37:28.836 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=08b27bf0-e34a-4b30-9eac-5edadfb6a288#MD_DataIdentification
10163
* eval db.writeln('"c56433ca-35f2-4aaf-8bfa-35d8e0e52dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
10164
* eval db.writeln('"c56433ca-35f2-4aaf-8bfa-35d8e0e52dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.1:57]dd49e02c-ea87-4ffc-89dd-f888608d95b7
ms: 1784
>>
Background:
10165
* url 'http://nationaalgeoregister.nl/'
0
09:37:26.688 karate.env system property was:
10166
* def mystorage = Java.type('storage.DataStorage')
1
10167
* def db = new mystorage
1
10168
* def db = db.setfeature(karate.info.featureFileName)
1
10169
* def separator = java.lang.System.getProperty("file.separator")
1
10170
* def outputpath = db.outputpath()
1
10171
* eval db.ensureDirectory(outputpath)
1
10172
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10173
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10174
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10175
Given path 'geonetwork/srv/dut/inspire'
0
10176
And param service = 'CSW'
0
10177
And param version = '2.0.2'
0
10178
And param request = 'GetRecordById'
0
10179
And param id = 'dd49e02c-ea87-4ffc-89dd-f888608d95b7'
0
10180
And param elementsetname = 'full'
0
10181
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10182
When method get
1769
10183
Then status 200
0
10184
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dd49e02c-ea87-4ffc-89dd-f888608d95b7'
1
10185
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10186
* def title = get response //citation/CI_Citation/title/CharacterString
0
10187
* def email = get response //electronicMailAddress/CharacterString
0
10188
* def organisationpath = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10189
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10190
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10191
* def connectUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10192
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10193
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10194
* print organisationpath
0
09:37:28.471 [print] Beheer PDOK
10195
* print operateson
0
09:37:28.471 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18
10196
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's.csv')
2
10197
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '",', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2